aloharobotics / cellbots

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

Compass heading code is failing to point properly #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run cellbot on a robot
2. Send a command such as 'point north'
3. Robots will keep moving but never really find North properly

What is the expected output? What do you see instead?
The code handling this is on line 213 here:
http://code.google.com/p/cellbots/source/browse/trunk/android/python/cellbot.py

We may have an issue with API changes where we aren't reading the compass 
heading properly? This happened for angles that recently moved to radians for 
example.

It may also be that we're getting interference from motors and really need for 
them to disconnect and chill out between readings. I suspect the API issue is 
more likely though.

Original issue reported on code.google.com by rhickman on 19 Sep 2010 at 4:05