22 MCPythonController(
const std::vector<std::shared_ptr<mc_rbdyn::RobotModule>> & robots,
double dt);
26 virtual bool run()
override;
33 bool python_failed_ =
false;
#define MC_CONTROL_DLLAPI
Definition: api.h:50
Definition: CompletionCriteria.h:11
Contains information allowing the controller to start smoothly from the current state of the robot.
Definition: MCController.h:46
MCController is the base class to implement all controllers. It assumes that at least two robots are ...
Definition: MCController.h:99
Definition: mc_python_controller.h:20
MCPythonController(const std::vector< std::shared_ptr< mc_rbdyn::RobotModule >> &robots, double dt)
virtual bool run() override
std::function< void(const ControllerResetData &)> reset_callback
Definition: mc_python_controller.h:29
virtual void reset(const ControllerResetData &reset_data) override
std::function< bool()> run_callback
Definition: mc_python_controller.h:28
std::function< bool()> handle_python_error
Definition: mc_python_controller.h:30
Definition: mc_python_controller.h:14
std::string out
Definition: mc_python_controller.h:16
bool success
Definition: mc_python_controller.h:15