DriverControlled
class DriverControlled @JvmOverloads constructor(val driveJoystick: Joystick, val turnJoystick: Joystick, val robotCentric: Boolean = true, val invertDrive: Boolean = false, val invertTurn: Boolean = false, val invertStrafe: Boolean = false) : Command
Uses the joystick inputs to drive the robot
Parameters
driveJoystick
The joystick to use for forward and strafe movement
turnJoystick
The joystick to use for turning
robotCentric
Whether to use robot centric or field centric movement
invertDrive
whether to invert the drive joystick
invertTurn
whether to invert the turn joystick
invertStrafe
whether to invert the strafe joystick