CornerSpinCommand

constructor(rotation: DoubleSupplier, driveMode: BooleanSupplier, slowMode: BooleanSupplier)

Parameters

rotation

Double supplier that returns the desired 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.