Alex exoskeleton
ALEX SoftwareDocumentation
InitState.h
Go to the documentation of this file.
1 // Init State Class publically inheriting State
2 #ifndef INITSTATE_H_INCLUDED
3 #define INITSTATE_H_INCLUDED
4 
5 #include "ExoTestState.h"
6 
13 class InitState : public ExoTestState {
14  public:
15  void entry(void);
16  void during(void);
17  void exit(void);
18  InitState(StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name = NULL) : ExoTestState(m, exo, tg, name){};
19 };
20 
21 #endif
Example implementation of the Robot class, representing an X2 Exoskeleton, using DummyActuatedJoint a...
Definition: ExoRobot.h:27
Example Implementation of TrajectoryGenerator. Includes only two trajectories (Sit-to-Stand and Stand...
void entry(void)
Called once when the state is entered. Pure virtual function, must be overwritten by each state...
Definition: InitState.cpp:3
Abstract class representing a state machine. Includes a number of State and Transition objects...
Definition: StateMachine.h:26
const char * name
Definition: State.h:93
void exit(void)
Called once when the state exits. Pure virtual function, must be overwritten by each state...
Definition: InitState.cpp:15
Example Implementation of State Class. Used with ExoTestMachine.
Definition: ExoTestState.h:30
Initialisation State for the ExoTestMachine (implementing ExoTestState)
Definition: InitState.h:13
void during(void)
Called continuously whilst in that state. Pure virtual function, must be overwritten by each state...
Definition: InitState.cpp:13
InitState(StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name=NULL)
Definition: InitState.h:18