Alex exoskeleton
ALEX SoftwareDocumentation
Public Member Functions | List of all members
Sitting Class Reference

State for the ExoTestMachine (implementing ExoTestState) - representing when the exoskeleton is sitting down (stationary) More...

#include <Sitting.h>

Inheritance diagram for Sitting:
Inheritance graph
Collaboration diagram for Sitting:
Collaboration graph

Public Member Functions

void entry (void)
 Called once when the state is entered. Pure virtual function, must be overwritten by each state. More...
 
void during (void)
 Called continuously whilst in that state. Pure virtual function, must be overwritten by each state. More...
 
void exit (void)
 Called once when the state exits. Pure virtual function, must be overwritten by each state. More...
 
 Sitting (StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name=NULL)
 
- Public Member Functions inherited from ExoTestState
 ExoTestState (StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name=NULL)
 
- Public Member Functions inherited from State
 State (StateMachine *p, const char n[]=NULL)
 Construct a new State object. More...
 
 ~State ()
 
bool addArc (Transition *t)
 
TransitiongetActiveArc (void)
 
const char * getName (void)
 Returns the name of the state - Note that this. More...
 
void printName (void)
 Prints the name of the state. More...
 

Additional Inherited Members

- Public Attributes inherited from State
StateMachineowner
 Pointer to the owning state machine. More...
 
- Protected Attributes inherited from ExoTestState
ExoRobotrobot
 
DummyTrajectoryGeneratortrajectoryGenerator
 

Detailed Description

State for the ExoTestMachine (implementing ExoTestState) - representing when the exoskeleton is sitting down (stationary)

State machines enters this state when the sitting down trajectory is finished, and waits here for input

Definition at line 14 of file Sitting.h.

Constructor & Destructor Documentation

Sitting::Sitting ( StateMachine m,
ExoRobot exo,
DummyTrajectoryGenerator tg,
const char *  name = NULL 
)

Definition at line 19 of file Sitting.h.

Member Function Documentation

void Sitting::during ( void  )
virtual

Called continuously whilst in that state. Pure virtual function, must be overwritten by each state.

Implements ExoTestState.

Definition at line 13 of file Sitting.cpp.

void Sitting::entry ( void  )
virtual

Called once when the state is entered. Pure virtual function, must be overwritten by each state.

Implements ExoTestState.

Definition at line 5 of file Sitting.cpp.

void Sitting::exit ( void  )
virtual

Called once when the state exits. Pure virtual function, must be overwritten by each state.

Implements ExoTestState.

Definition at line 16 of file Sitting.cpp.


The documentation for this class was generated from the following files: