CORC Project
CANOpen Robot Controller Software Documentation
Public Member Functions | List of all members
SittingDwn Class Reference

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

#include <SittingDwn.h>

Inheritance diagram for SittingDwn:
Inheritance graph
Collaboration diagram for SittingDwn:
Collaboration graph

Public Member Functions

void entry (void)
 Prepare Robot and Trajectory Generator objects to tigger a sit motion loads SIT paramaters into the Trajectory Generator object and runs robot startNewTrajectory function. More...
 
void during (void)
 run the robot objectsmoveThroughtrajecoty function using the loaded trajectory dictated by the state machines Trajectory Generator object. More...
 
void exit (void)
 Called once when the state exits. Pure virtual function, must be overwritten by each state. More...
 
 SittingDwn (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 sitting down (moving)

Starts the Sitting Down trajectory on entry, executes in during, and exits when trajectory is complete

Definition at line 20 of file SittingDwn.h.

Constructor & Destructor Documentation

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

Definition at line 35 of file SittingDwn.h.

Member Function Documentation

void SittingDwn::during ( void  )
virtual

run the robot objectsmoveThroughtrajecoty function using the loaded trajectory dictated by the state machines Trajectory Generator object.

Implements ExoTestState.

Definition at line 13 of file SittingDwn.cpp.

void SittingDwn::entry ( void  )
virtual

Prepare Robot and Trajectory Generator objects to tigger a sit motion loads SIT paramaters into the Trajectory Generator object and runs robot startNewTrajectory function.

Implements ExoTestState.

Definition at line 5 of file SittingDwn.cpp.

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


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