|
Re: How to get robot to drive straigth using shaft encoders
As a suggestion....
We've tried encoders to drive straight and though it can be done. The EASIEST code to write and drive straight is using a GYRO. Our team's opinion so far in the past 4 years of working with sensors and trying different things.
I would upgrade to a 300 DPS (degree per second) gyro however, and NOT use the 80 DPS GRYO in the kit this year. You can pick up a 300 DPS gyro at sparkfun. The 2007 gyro works ok, it's a faster DPS than the 2008 gyro.
Just our experience. We've stablized a two wheel drive robot last year with a gyro. Carpet sliders on the front and back of bot with drive train in the middle.
__________________
Team T.H.R.U.S.T. 1501
Download all of our past robot's source code here: Repository
Favorite CD quote:
"That can't be their 'bot. not nearly enough (if any) rivets to be a 1501 machine." ~RogerR: Team #1369
|