Class PlaceholderFSMSystem<StateSpace>

java.lang.Object
frc.robot.systems.FSMSystem<StateSpace>
frc.robot.systems.PlaceholderFSMSystem<StateSpace>
Type Parameters:
StateSpace - the state space to mirror

public class PlaceholderFSMSystem<StateSpace> extends FSMSystem<StateSpace>
this is intended to be used in place of an FSM when the hardware is not present.
  • Constructor Details

    • PlaceholderFSMSystem

      public PlaceholderFSMSystem()
  • Method Details

    • update

      public void update(Input input)
      Description copied from class: FSMSystem
      Update the FSM state periodically based on inputs.
      Specified by:
      update in class FSMSystem<StateSpace>
      Parameters:
      input - the input object
    • nextState

      protected StateSpace nextState(Input input)
      Description copied from class: FSMSystem
      Get the next state for the FSM based on inputs.
      Specified by:
      nextState in class FSMSystem<StateSpace>
      Parameters:
      input - the input object
      Returns:
      the next state
    • reset

      public void reset()
      Description copied from class: FSMSystem
      Reset the current FSM state.
      Specified by:
      reset in class FSMSystem<StateSpace>