30 #include <mc_control/fsm/Controller.h> 31 #include <mc_control/fsm/State.h> 58 void start()
override;
145 Eigen::Vector3d copTarget_;
146 bool isMakingFootContact_;
149 double freeFootGain_;
150 double leftFootRatio_;
151 double releaseHeight_;
152 unsigned lastInterpolatorIter_;
void distributeFootCoPs()
Distribute spatial ZMP into foot CoPs in double support.
Enable stabilizer and keep CoM at a reference position.
void checkPlanUpdates()
Check for footstep plan updates.
bool releaseFootContact(std::shared_ptr< mc_tasks::force::CoPTask > footTask)
Release foot contact.
void startWalking()
Enable startWalking_ boolean and update GUI.
Convenience wrapper for FSM states.
void makeLeftFootContact()
Make left foot contact.
void releaseRightFootContact()
Release right foot contact.
void updatePlan(const std::string &name)
Change footstep plan.
void updateTarget(double leftFootRatio)
Update target CoM and CoP.
Main controller namespace.
void runState() override
Main state function, called if no transition at this cycle.
void makeRightFootContact()
Make right foot contact.
void makeFootContact(std::shared_ptr< mc_tasks::force::CoPTask > footTask, const Contact &contact)
Make foot contact.
void start() override
Start state.
bool checkTransitions() override
Check transitions at beginning of control cycle.
void releaseLeftFootContact()
Release left foot contact.
void teardown() override
Teardown state.