Class LauncherWheelImpl
java.lang.Object
org.firstinspires.ftc.teamcode.fy25.subsystems.launcherwheel.LauncherWheelImpl
- All Implemented Interfaces:
LauncherWheel
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firstinspires.ftc.teamcode.fy25.subsystems.launcherwheel.LauncherWheel
LauncherWheel.Parameters, LauncherWheel.State -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the current velocity of the launch wheel.getState()Get the current state of the launcher.voidsetLaunchVelocity(double newVel) Set the velocity at which the launch wheel will run when it is READY.voidspinDown()Remove power from the launch wheelvoidspinUp()Apply power to the launch wheelvoidupdate()Called by robot.update().
-
Constructor Details
-
LauncherWheelImpl
-
-
Method Details
-
spinUp
public void spinUp()Description copied from interface:LauncherWheelApply power to the launch wheel- Specified by:
spinUpin interfaceLauncherWheel
-
spinDown
public void spinDown()Description copied from interface:LauncherWheelRemove power from the launch wheel- Specified by:
spinDownin interfaceLauncherWheel
-
getState
Description copied from interface:LauncherWheelGet the current state of the launcher. This will be STARTING immediately after calling readyLauncher(), and will become READY once the launch wheel is up to speed.- Specified by:
getStatein interfaceLauncherWheel
-
setLaunchVelocity
public void setLaunchVelocity(double newVel) Description copied from interface:LauncherWheelSet the velocity at which the launch wheel will run when it is READY. The new velocity to set, in ticks per second.- Specified by:
setLaunchVelocityin interfaceLauncherWheel
-
getLaunchVelocity
public double getLaunchVelocity()Description copied from interface:LauncherWheelGet the current velocity of the launch wheel.- Specified by:
getLaunchVelocityin interfaceLauncherWheel
-
update
public void update()Description copied from interface:LauncherWheelCalled by robot.update(). You do not need to call this method.- Specified by:
updatein interfaceLauncherWheel
-