colemarkham / cellbots

Automatically exported from code.google.com/p/cellbots
0 stars 0 forks source link

Check for safety before moving the robot #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The newly introduced safety check code looks to the range sensors on the 
robot to see if there i anything in front of it or the edge of the table it 
is on. We check this AFTER our first command to the servos. Not good.

We should check to see that it is safe to move BEFORE doing so. Although we 
also need to give the human a way to override this since the current check i 
a cheat that allows the human operator to nudge it a little bit.

Original issue reported on code.google.com by rhickman on 5 Apr 2010 at 1:49

GoogleCodeExporter commented 8 years ago
Probably to wait until 'Issue 21: New Routine for handling commands returned 
from the
robot to the phone' is done so we can move the safety check to the Android 
side. 

Original comment by glen.arrowsmith on 12 Apr 2010 at 3:53

GoogleCodeExporter commented 8 years ago
I have some code for this now but still needs refinement.

Original comment by rhickman on 19 Sep 2010 at 3:55