java.lang.Object
org.firstinspires.ftc.teamcode.fy25.subsystems.launcherwheel.LauncherWheelBlank
All Implemented Interfaces:
LauncherWheel

public class LauncherWheelBlank extends Object implements LauncherWheel
A blank implementation of LauncherWheel that does nothing. Never returns null (returns blank objects instead where applicable), so hopefully no null pointers.
  • Constructor Details

    • LauncherWheelBlank

      public LauncherWheelBlank()
  • Method Details

    • spinUp

      public void spinUp()
      Description copied from interface: LauncherWheel
      Apply power to the launch wheel
      Specified by:
      spinUp in interface LauncherWheel
    • spinDown

      public void spinDown()
      Description copied from interface: LauncherWheel
      Remove power from the launch wheel
      Specified by:
      spinDown in interface LauncherWheel
    • getState

      public LauncherWheel.State getState()
      Description copied from interface: LauncherWheel
      Get 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:
      getState in interface LauncherWheel
    • setLaunchVelocity

      public void setLaunchVelocity(double velocity)
      Description copied from interface: LauncherWheel
      Set the velocity at which the launch wheel will run when it is READY. The new velocity to set, in ticks per second.
      Specified by:
      setLaunchVelocity in interface LauncherWheel
    • getLaunchVelocity

      public double getLaunchVelocity()
      Description copied from interface: LauncherWheel
      Get the current velocity of the launch wheel.
      Specified by:
      getLaunchVelocity in interface LauncherWheel
    • update

      public void update()
      Description copied from interface: LauncherWheel
      Called by robot.update(). You do not need to call this method.
      Specified by:
      update in interface LauncherWheel