Straight Tracking: Compass vs. Wheel Encoders
Mikerocontroller
Posts: 310
· My prototype robotic vehicle has been drive tested and it looks like it will need help to track a reasonably straight line.· I've adjusted the motor speeds but it tends to dart in both directions.···Has anyone found a compass (such as the HM55B·) to be as useful (or at least serviceable) ·as wheel encoders?· I just want to correct some of the wandering and am not interested in magnetic heading accuracy.·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
@Martin_H..... I'll be trying the compass next time!
First there's the long & rambling PC thread at·http://forums.parallax.com/showthread.php?p=869446
One on the gearmotor/wheel combo I used, with some encoder details at http://forums.parallax.com/showthread.php?p=853015
And another·just on encoders at ·http://forums.parallax.com/showthread.php?p=874406
Also, Robot magazine has an article I just wrote on PC (AKA Retrobot) in the new May/June issue, just hitting newsstands now. They'll be posting my software (incl the latest Pathfinder code, see video link below) on their botmag.com website "any day now"...
kwinn: True, wheel slippage must be avoided when dead reckoning. Amazing results (accuracy & repeatability) can be achieved·by accelerating gently and keeping speeds moderate:
http://www.youtube.com/watch?v=PX0IhUqnwrk
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Many excellent articles exist on the subject that provide thought-provoking detail. So while you are in a reading kinda mood, check out our own PhiPi's article at http://www.parallax.com/dl/docs/prod/datast/ApplyEncoder.pdf ··· and also this competition Legobot article at http://www.seattlerobotics.org/encoder/200108/using_a_pid.html
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."