#ifndef FSM_STATE_IMPEDANCECONTROL_H #define FSM_STATE_IMPEDANCECONTROL_H #include "FSM_State.h" /** * */ template class FSM_State_ImpedanceControl : public FSM_State { public: EIGEN_MAKE_ALIGNED_OPERATOR_NEW FSM_State_ImpedanceControl(ControlFSMData* _controlFSMData); // Behavior to be carried out when entering a state void onEnter(); // Run the normal behavior for the state void run(); // Checks for any transition triggers FSM_StateName checkTransition(); // Manages state specific transitions TransitionData transition(); // Behavior to be carried out when exiting a state void onExit(); private: // Keep track of the control iterations int iter = 0; }; #endif // FSM_STATE_IMPEDANCECONTROL_H