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, gamepad: GamepadEx)
constructor(leftMotor: Controllable, rightMotor: Controllable, leftJoystick: Joystick, rightJoystick: Joystick)

Properties

Link copied to clipboard
Link copied to clipboard
open override val isDone: Boolean = false
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val subsystems: Set<Subsystem>

Functions

Link copied to clipboard
Link copied to clipboard
fun and(vararg commands: Command): ParallelGroup
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun invoke()
Link copied to clipboard
Link copied to clipboard
fun raceWith(vararg commands: Command): ParallelRaceGroup
Link copied to clipboard
open fun start()
Link copied to clipboard
open fun stop(interrupted: Boolean)
Link copied to clipboard
fun then(vararg commands: Command): SequentialGroup
Link copied to clipboard
Link copied to clipboard
open override fun update()
Link copied to clipboard