DriveController& driveArcade(const controller::axis& forwardAxis, const controller::axis& turnAxis, bool reverseForward = false, bool reverseTurn = false)
Drives the robot arcade style (one stick for forward, the other for turn) with the option of reversing the stick values.
Parameters
forwardAxis- The axis to drive the robot forward on.turnAxis- The axis to turn the robot on.reverseForward- Whether to reverse the forward axis’ valuereverseTurn- Whether to reverse the turn axis’ value
Example
dc.driveArcade(Greg.Axis3, Greg.Axis4);