Alex exoskeleton
ALEX SoftwareDocumentation
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
StandingUp Class Reference

State for the ExoTestMachine (implementing ExoTestState) - representing when the exo is standing up (moving) More...

#include <StandingUp.h>

Inheritance diagram for StandingUp:
Inheritance graph
Collaboration diagram for StandingUp:
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...
 
 StandingUp (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 exo is standing up (moving)

Starts the Standing Up trajectory on entry, executes in during, and exits when trajectory is complete

Definition at line 11 of file StandingUp.h.

Constructor & Destructor Documentation

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

Definition at line 16 of file StandingUp.h.

Member Function Documentation

void StandingUp::during ( void  )
virtual

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

Implements ExoTestState.

Definition at line 12 of file StandingUp.cpp.

void StandingUp::entry ( void  )
virtual

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

Implements ExoTestState.

Definition at line 4 of file StandingUp.cpp.

void StandingUp::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 StandingUp.cpp.


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