z1_controller/include/FSM/State_BackToStart.h

21 lines
435 B
C
Raw Normal View History

2022-07-20 11:11:38 +08:00
#ifndef STATE_BACKTOSTART_H
#define STATE_BACKTOSTART_H
2022-11-11 19:49:41 +08:00
#include "FSM/FSMState.h"
#include "trajectory/JointSpaceTraj.h"
class State_BackToStart : public FSMState{
2022-07-20 11:11:38 +08:00
public:
State_BackToStart(CtrlComponents *ctrlComp);
2022-11-11 19:49:41 +08:00
~State_BackToStart();
void enter();
void run();
void exit();
int checkChange(int cmd);
2022-07-20 11:11:38 +08:00
private:
2022-11-11 19:49:41 +08:00
bool _reach, _pastReach;
JointSpaceTraj *_jointTraj;
2022-07-20 11:11:38 +08:00
};
#endif // STATE_BACKTOSTART_H