Launch Command
class LaunchCommand(speed: DoubleSupplier, launch: BooleanSupplier, pivotAngle: DoubleSupplier, override: BooleanSupplier) : Command
Command to launch the note
Parameters
speed
a supplier that returns the desired speed of the flywheels
launch
a supplier that returns whether the note should be launched
pivot Angle
a supplier that returns the angle of the pivot
override
a supplier that returns whether the launch should be overridden
Constructors
Link copied to clipboard
constructor(speed: DoubleSupplier, launch: BooleanSupplier, pivotAngle: DoubleSupplier, override: BooleanSupplier)