Go to the documentation of this file.
11 #ifndef _SOT_TalosController_H_
12 #define _SOT_TalosController_H_
14 #include <dynamic-graph/entity.h>
15 #include <dynamic-graph/linear-algebra.h>
16 #include <dynamic-graph/signal-ptr.h>
17 #include <dynamic-graph/signal.h>
19 #include <dynamic_graph_bridge/ros_interpreter.hh>
20 #include <pinocchio/fwd.hpp>
21 #include <sot/core/abstract-sot-external-interface.hh>
22 #include <sot/core/device.hh>
36 void setupSetSensors(std::map<std::string, dgsot::SensorValues> &sensorsIn);
42 void getControl(std::map<std::string, dgsot::ControlValues> &anglesOut);
50 boost::shared_ptr<ros::NodeHandle>
nh_;
59 void runPython(std::ostream &file,
const std::string &command,
60 dynamicgraph::Interpreter &interpreter);
void updateRobotState(std::vector< double > &anglesIn)
static const std::string LOG_PYTHON
Definition: sot-talos-controller.hh:29
boost::shared_ptr< ros::AsyncSpinner > spinner_
Definition: sot-talos-controller.hh:51
void cleanupSetSensors(std::map< std::string, dgsot::SensorValues > &sensorsIn)
Definition: sot-talos-controller.cpp:71
void init()
Definition: sot-talos-controller.cpp:40
SoTTalosDevice * device_
Definition: sot-talos-controller.hh:66
void setNoIntegration(void)
Definition: sot-talos-controller.cpp:89
boost::shared_ptr< dynamicgraph::Interpreter > interpreter_
Embedded python interpreter accessible via Corba/ros.
Definition: sot-talos-controller.hh:48
Definition: sot-talos-controller.hh:27
virtual void startupPython()
Definition: sot-talos-controller.cpp:116
virtual ~SoTTalosController()
Definition: sot-talos-controller.cpp:57
void nominalSetSensors(std::map< std::string, dgsot::SensorValues > &sensorsIn)
Definition: sot-talos-controller.cpp:66
void setupSetSensors(std::map< std::string, dgsot::SensorValues > &sensorsIn)
Definition: sot-talos-controller.cpp:61
void getControl(std::map< std::string, dgsot::ControlValues > &anglesOut)
Definition: sot-talos-controller.cpp:76
void runPython(std::ostream &file, const std::string &command, dynamicgraph::Interpreter &interpreter)
Run a python command.
Definition: sot-talos-controller.cpp:95
boost::shared_ptr< ros::NodeHandle > nh_
Definition: sot-talos-controller.hh:50
void setSecondOrderIntegration(void)
Definition: sot-talos-controller.cpp:91
Definition: sot-talos-device.cpp:379
Definition: sot-talos-device.hh:33