Alex exoskeleton
ALEX SoftwareDocumentation
Sitting.h
Go to the documentation of this file.
1 // Init State Class publically inheriting State
2 #ifndef SITTING_H_INCLUDED
3 #define SITTING_H_INCLUDED
4 
5 #include <time.h>
6 
7 #include "ExoTestState.h"
8 
14 class Sitting : public ExoTestState {
15  public:
16  void entry(void);
17  void during(void);
18  void exit(void);
19  Sitting(StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name = NULL) : ExoTestState(m, exo, tg, name){};
20 };
21 
22 #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...
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
State for the ExoTestMachine (implementing ExoTestState) - representing when the exoskeleton is sitti...
Definition: Sitting.h:14
Example Implementation of State Class. Used with ExoTestMachine.
Definition: ExoTestState.h:30
void exit(void)
Called once when the state exits. Pure virtual function, must be overwritten by each state...
Definition: Sitting.cpp:16
Sitting(StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name=NULL)
Definition: Sitting.h:19
void during(void)
Called continuously whilst in that state. Pure virtual function, must be overwritten by each state...
Definition: Sitting.cpp:13
void entry(void)
Called once when the state is entered. Pure virtual function, must be overwritten by each state...
Definition: Sitting.cpp:5