Class Launcher

java.lang.Object
frc.spectrumLib.mechanism.Mechanism
frc.robot.subsystems.launcher.Launcher
All Implemented Interfaces:
Subsystem

public class Launcher extends Mechanism
The Launcher subsystem. Four-motor flywheel that launches fuel at the hub.
  • Constructor Details

  • Method Details

    • setWantedState

      public void setWantedState(Launcher.WantedState state)
    • periodic

      public void periodic()
      Description copied from class: Mechanism
      Called once per scheduler loop. Concrete subclasses should override to implement their periodic state-machine logic, telemetry, and sensor updates.
      Specified by:
      periodic in interface Subsystem
      Overrides:
      periodic in class Mechanism
    • simulationInit

      public void simulationInit()
    • simulationPeriodic

      public void simulationPeriodic()
      Description copied from class: Mechanism
      Called once per simulation loop. Concrete subclasses should override to update simulation state (e.g., physics model inputs).
      Specified by:
      simulationPeriodic in interface Subsystem
      Overrides:
      simulationPeriodic in class Mechanism
    • getConfig

      public Launcher.LauncherConfig getConfig()
    • getSim

      public frc.robot.subsystems.launcher.Launcher.LauncherSim getSim()