Inconsistent Servo Speed
Jonathan Morrison
Posts: 23
I have a BOE-BOT that has 2 servos on it. I run one servo at freqout - 650 and one at freqout - 850, however, the bot always veers to the left a little. Is there a way to fine tune the servos so they are in sync - or do I need to adjust the freqout code to do 657 instead of 650, etc.? Or have I missed something by assuming that 750 == center, 650 == full speed left and 850 == full speed right? Thanks.
Comments
·· Sometimes one servo will run slightly faster than another.· In these cases you may have to make adjustments to the code, and/or to the values sent to the servos to compensate for this.·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
·· On page 129 of the Robotics Manual V2.2, it explains how to tune the servo values to compensate for a BOE-Bot that veers when moving in what should be a straight line.· I have had to do this myself.· Basically it's good to write down the values you end up with so they can be integrated into code you write later.
·· For example, on one of my BOE-Bots, to go forward I am supposed to use the values 850 on P13 and 650 on P12.· But I have to use 840 and 650 instead, because my bot veers right a little.· It took several tries to get the exact number, but now that I have it, whenever I have code to go forward, instead of using 850 and 650 I use 840 and 650.· I hope this helps you.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (Chris Savage (Parallax)) : 7/19/2005 10:59:23 PM GMT
bugg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Boe-bot: $229
Toddler: $249
Learning Google is your friend: priceless