Quote:
Originally Posted by Mark McLeod
The Arcade drive has a second input (X-axis value), that isn't used in the example, but defines the turn amount. An x-axis value of 1.0 for instance will make your robot turn in place. -1.0 makes it turn in the opposite direction. In between values will make it drive in an arc.
|
That's close enough for people who already know how the Arcade Drive works, but it's not perfectly correct. The robot will try to spin in place with any nonzero x-axis value if the y-axis value is zero. To drive in an arc, add an x-axis-controlled spin to a y-axis-controlled forward or reverse drive.
Yes, negative numbers on the y axis mean forward. That's because the joystick standard has negative forward and positive backward, likely because it was defined with flight simulators in mind.