DifferentialTankDriverControlled

constructor(leftMotor: Controllable, rightMotor: Controllable, gamepad: GamepadEx)

Parameters

leftMotor

: The motor(s) on the left side of the drivetrain

rightMotor

: The motor(s) on the right side of the drivetrain

gamepad

: The gamepad to use the joysticks from


constructor(leftMotor: Controllable, rightMotor: Controllable, leftJoystick: Joystick, rightJoystick: Joystick)

Parameters

leftMotor

: The motor(s) on the left side of the drivetrain

rightMotor

: The motor(s) on the right side of the drivetrain

leftJoystick

: The joystick to use to control the left side of the drivetrain

rightJoystick

: The joystick to use to control the right side of the drivetrain