Quote:
Originally Posted by AdamHeard
How difficult is this.
How did you determine if the driver wanted a straight line or not? did you look at the difference between the two sticks?
|
Typically we use a single joystick drive (y-axis commands speed, and x-axis commands the turning rate), but the difference between the two sticks should work as well.
I've posted sample PID code for the gyro in some other threads, just look at some of my recent posts. Nothing terribly difficult to implement, although it helps to have an understanding of how feedback loops work.