Corrected Drive Command
class CorrectedDriveCommand(vForward: DoubleSupplier, vStrafe: DoubleSupplier, omega: DoubleSupplier, driveMode: BooleanSupplier, slowMode: BooleanSupplier) : Command
A command that controls the swerve drive using joystick inputs.
Parameters
v Forward
The x velocity of the robot.
v Strafe
The y velocity of the robot.
omega
The angular velocity of the robot.
drive Mode
Boolean supplier that returns true if the robot should drive in field-oriented mode.
slow Mode
Boolean supplier that returns true if the robot should drive in slow mode.
See also
Constructors
Link copied to clipboard
constructor(vForward: DoubleSupplier, vStrafe: DoubleSupplier, omega: DoubleSupplier, driveMode: BooleanSupplier, slowMode: BooleanSupplier)