|
Re: Using Encoders to Correct Drive
As stated earlier, you'd be better off using a gyro to accomplish the task of straight driving. When the robot is initialized, the gyro will zero itself. If there is any change in heading, you can use that to create a loop that will steer the robot to correct itself. You may encounter a slight drifting effect, but it shouldn't be noticeable in a single match.
__________________
I'm a mentor looking for a home in Southern California! I know Java, C++, electrical and mechanical.
Need Java or C++ help? Send me a PM!
|