Always goes forward, Never goes straight
TinkersALot
Posts: 535
Time for my uninformed question today:
Why does my boe-bot tend to "drift to the left" when it is going forward?
Why does my boe-bot tend to "drift to the left" when it is going forward?
Comments
To reuse an analogy I use in the Educator's Courses: "Servos are like snowflakes; no two come from the factory the same."
So, even though you've centered both servos to stop when sent a 750 PULSOUT duration, one may still move a little faster in one direction. And that is what's happening to you - your right servo is moving slightly faster than the left one, causing the bot to drift slightly to the left.
The Your Turn section in Robotics with the Boe-Bot, Chapter 4 Activity #2 lends some insight on how to adjust your PULSOUT duration arguments to help your Boe-Bot move in a 'perfectly' straight line.
Hope this helps!
-- Jessica
-Phil
You can find it here - http://www.parallax.com/Portals/0/Downloads/docs/prod/datast/ApplyEncoder.pdf
It explains, better than anything I've ever read, how the whole thing works.