DifferentialTankDriverControlled
class DifferentialTankDriverControlled(val leftMotor: Controllable, val rightMotor: Controllable, val leftJoystick: Joystick, val rightJoystick: Joystick) : Command
Drives a differential drivetrain as a tank drive.
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
Constructors
Link copied to clipboard
constructor(leftMotor: Controllable, rightMotor: Controllable, leftJoystick: Joystick, rightJoystick: Joystick)