LaunchCommand

constructor(speed: DoubleSupplier, launch: BooleanSupplier, pivotAngle: DoubleSupplier, override: BooleanSupplier)

Parameters

speed

a supplier that returns the desired speed of the flywheels

launch

a supplier that returns whether the note should be launched

pivotAngle

a supplier that returns the angle of the pivot

override

a supplier that returns whether the launch should be overridden