Alex exoskeleton
ALEX SoftwareDocumentation
InitState.cpp
Go to the documentation of this file.
1 #include "InitState.h"
2 
3 void InitState::entry(void) {
4  std::cout
5  << "==================================" << endl
6  << " WELCOME TO THE TEST STATE MACHINE" << endl
7  << "==================================" << endl
8  << endl
9  << "========================" << endl
10  << " PRESS S to start program" << endl
11  << "========================" << endl;
12 }
13 void InitState::during(void) {
14 }
15 void InitState::exit(void) {
17  std::cout << "Initialise State Exited" << endl;
18 }
bool initPositionControl()
Initialises all joints to position control mode.
Definition: ExoRobot.cpp:16
void entry(void)
Called once when the state is entered. Pure virtual function, must be overwritten by each state...
Definition: InitState.cpp:3
void exit(void)
Called once when the state exits. Pure virtual function, must be overwritten by each state...
Definition: InitState.cpp:15
void during(void)
Called continuously whilst in that state. Pure virtual function, must be overwritten by each state...
Definition: InitState.cpp:13
ExoRobot * robot
Definition: ExoTestState.h:33