CorrectedDriveCommand

constructor(vForward: DoubleSupplier, vStrafe: DoubleSupplier, omega: DoubleSupplier, driveMode: BooleanSupplier, slowMode: BooleanSupplier)

Parameters

vForward

The x velocity of the robot.

vStrafe

The y velocity of the robot.

omega

The angular velocity of the robot.

driveMode

Boolean supplier that returns true if the robot should drive in field-oriented mode.

slowMode

Boolean supplier that returns true if the robot should drive in slow mode.