Package frc.robot.systems
Class PlaceholderFSMSystem<StateSpace>
java.lang.Object
frc.robot.systems.FSMSystem<StateSpace>
frc.robot.systems.PlaceholderFSMSystem<StateSpace>
- Type Parameters:
StateSpace- the state space to mirror
this is intended to be used in place of an FSM when the hardware is not present.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class frc.robot.systems.FSMSystem
getCurrentState, setCurrentState, watchForStatesCommand
-
Constructor Details
-
PlaceholderFSMSystem
public PlaceholderFSMSystem()
-
-
Method Details
-
update
Description copied from class:FSMSystemUpdate the FSM state periodically based on inputs.- Specified by:
updatein classFSMSystem<StateSpace>- Parameters:
input- the input object
-
nextState
Description copied from class:FSMSystemGet the next state for the FSM based on inputs.- Specified by:
nextStatein classFSMSystem<StateSpace>- Parameters:
input- the input object- Returns:
- the next state
-
reset
public void reset()Description copied from class:FSMSystemReset the current FSM state.- Specified by:
resetin classFSMSystem<StateSpace>
-