CornerSpinCommand

class CornerSpinCommand(rotation: DoubleSupplier, driveMode: BooleanSupplier, slowMode: BooleanSupplier) : Command

A Command that allows rotation around a corner/swerve module.

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.

See also

Constructors

Link copied to clipboard
constructor(rotation: DoubleSupplier, driveMode: BooleanSupplier, slowMode: BooleanSupplier)