z1_controller/include/FSM/State_MoveJ.h

23 lines
479 B
C
Raw Normal View History

2022-07-20 11:11:38 +08:00
#ifndef MOVEJ_H
#define MOVEJ_H
#include "FSM/FSMState.h"
#include "trajectory/JointSpaceTraj.h"
class State_MoveJ : public FSMState{
public:
State_MoveJ(CtrlComponents *ctrlComp);
~State_MoveJ();
void enter();
void run();
void exit();
int checkChange(int cmd);
private:
double _costTime;
HomoMat _goalHomo;
JointSpaceTraj *_jointTraj;
bool _reached, _pastReached, _finalReached;
std::vector<Vec6> _result;
};
#endif // CARTESIAN_H