krisvek / cellbots

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

Look at current movement direction when processing safety check #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The new safety check code works for a forward facing or downward facing rage 
sensor. It stops the bot if it will run into something or off the table when 
moving forward. It doesn't deal with moving backwards though and still does 
these same front facing safety checks.

We should assume a robot with forward and back sensors and then understand 
which direction it is moving to know what sensors to read.

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

GoogleCodeExporter commented 8 years ago
Need to wrap this into general state awareness that may include reading wheel 
encoders for those that have them.

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