CORC Project
CANOpen Robot Controller Software Documentation
SittingDwn.h
Go to the documentation of this file.
1 
11 #ifndef SITTINGDWN_H_INCLUDED
12 #define SITTINGDWN_H_INCLUDED
13 #include "ExoTestState.h"
14 
20 class SittingDwn : public ExoTestState {
21  public:
27  void entry(void);
33  void during(void);
34  void exit(void);
35  SittingDwn(StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name = NULL) : ExoTestState(m, exo, tg, name){};
36 };
37 
38 #endif
Example implementation of the Robot class, representing an X2 Exoskeleton, using DummyActuatedJoint a...
Definition: ExoRobot.h:36
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:25
void entry(void)
Prepare Robot and Trajectory Generator objects to tigger a sit motion loads SIT paramaters into the T...
Definition: SittingDwn.cpp:5
const char * name
Definition: State.h:91
Example Implementation of State Class. Used with ExoTestMachine.
Definition: ExoTestState.h:30
SittingDwn(StateMachine *m, ExoRobot *exo, DummyTrajectoryGenerator *tg, const char *name=NULL)
Definition: SittingDwn.h:35
void exit(void)
Called once when the state exits. Pure virtual function, must be overwritten by each state...
Definition: SittingDwn.cpp:16
void during(void)
run the robot objectsmoveThroughtrajecoty function using the loaded trajectory dictated by the state ...
Definition: SittingDwn.cpp:13
State for the ExoTestMachine (implementing ExoTestState) - representing when the exo is sitting down ...
Definition: SittingDwn.h:20