Alex exoskeleton
ALEX SoftwareDocumentation
StandingUp.cpp
Go to the documentation of this file.
1 #include "StandingUp.h"
2 
3 // Negative bending control machine
4 void StandingUp::entry(void) {
5  std::cout << "===================" << endl
6  << " GREEN -> STAND UP" << endl
7  << "===================" << endl;
10 }
11 
12 void StandingUp::during(void) {
13  // if the green button is pressed move. Or do nothing
15 }
16 void StandingUp::exit(void) {
17  std::cout
18  << "Standing up motion State Exited"
19  << endl;
20 }
DummyTrajectoryGenerator * trajectoryGenerator
Definition: ExoTestState.h:34
void entry(void)
Called once when the state is entered. Pure virtual function, must be overwritten by each state...
Definition: StandingUp.cpp:4
bool moveThroughTraj()
For each joint, move through(send appropriate commands to joints) the Currently generated trajectory ...
Definition: ExoRobot.cpp:45
bool initialiseTrajectory()
Implementation of the initialiseTrajectory method in TrajectoryGenerator.
void exit(void)
Called once when the state exits. Pure virtual function, must be overwritten by each state...
Definition: StandingUp.cpp:16
ExoRobot * robot
Definition: ExoTestState.h:33
void startNewTraj()
Begin a new trajectory with the currently loaded trajectory paramaters. Using the ExoRobot current co...
Definition: ExoRobot.cpp:37
void during(void)
Called continuously whilst in that state. Pure virtual function, must be overwritten by each state...
Definition: StandingUp.cpp:12