Hi Steve JG
Social Distancing is very useful application I think.
It will be very useful in order to avoid collision of boats. As you know in rowing boat rowers can only reverse side.
Will you improve this application if rowers distance gets less than limits then sounds alert.
If it completed rowers can avoid dangerous collision I think.
Your improvement will be appreciated,
admpapa3 Japan
1 Like
You can do this yourself by modifying the aia file .
Presently the alarm is set for two ( 2 ) meters. Set the distance to anything you want from 2 to 100 m or so. You may have to change both places indicated. Experiment.
Change the alarm sound (BarkBarkBark.mp3) to anything sound you want.
Change the app name, the users (Dad,Mom,Son,Daughter) to boat1, boat2, boat3, boat4 or whatever you want.
Have fun.
Hi SteveJG,
Thanks your timely responce.
I have YouTube channel as 1xer-novice, I introduce your SocialDistancing2 as
in order to introduce SD2 among rowers.
.
It is grateful I can revise it for rowing venue.
CloudDB shall be prepared individual for each rowing vunue.
May I ask time interval to take compute one cycle.
boat moves 5m/s so interval is wanted small.
Does Android phone have location accuracy smaller than 2m?
I d like to revise for rowing and let rowers use It to avoid collision.
remain,
suzukis
1 Like
You need to read Using the Location Sensor first.
shigeki_suzuki:
May I ask time interval to take compute one cycle.
'one cycle'??? Perhaps the following will answer your question.
The LocationSensor.TimeInterval is set to 30000 ms by code. This means a user's gps is asked to determine where it is every 30 seconds. There is no guarantee the the LocationSensor.LocationChanged will occur but it usually does if the user has moved.
When ever one of the users (Mom, Dad etc.) location changes the LocationChanged block will call the Procedure setLocationStore. This updates the CloudDB and all the other users will be notified through the CloudDB that someone has moved. How fast does this update happen? Very quickly but depends on how busy the CloudDB server may be. The free server MIT provides is reliable but occasionally gets overloaded and slows down. (This is why you should consider your own Redis server.)
boat moves 5m/s so interval is wanted small.
So the boats move at about 11 mph. In 30 seconds, the boat moves 150 m.
Remember the other boats will also be moving at about 5m/s so what may be important is how fast the other boat is traveling compared to 'your' boat. So in 30 seconds one boat may get closer to another at a rate of perhaps 0.1 m/s which would mean perhaps it closes the distance between boat by 3 m. (check my math).
Does Android phone have location accuracy smaller than 2m?
No and usually provides a precision of 2 to about 10 m depending on how many satellites are used to get a satellite fix and the location coordinates.
I d like to revise for rowing and let rowers use It to avoid collision.
You can experiment to see whether this will work in this situation. I don't know.