9 #ifndef ANGLE_ESTIMATOR_COMMAND_H 10 #define ANGLE_ESTIMATOR_COMMAND_H 16 #include <boost/assign/list_of.hpp> 21 using ::dynamicgraph::command::Command;
22 using ::dynamicgraph::command::Value;
34 FromSensor(Dynamic& entity,
const std::string& docstring)
36 boost::assign::list_of(Value::STRING)(Value::STRING)(
37 Value::STRING)(Value::STRING),
40 Dynamic&
robot =
static_cast<Dynamic&
>(owner());
41 std::vector<Value>
values = getParameterValues();
42 std::string vrmlDirectory = values[0].value();
43 std::string vrmlMainFile = values[1].value();
44 std::string xmlSpecificityFiles = values[2].value();
45 std::string xmlRankFile = values[3].value();
46 robot.setVrmlDirectory(vrmlDirectory);
47 robot.setVrmlMainFile(vrmlMainFile);
48 robot.setXmlSpecificityFile(xmlSpecificityFiles);
49 robot.setXmlRankFile(xmlRankFile);
58 #endif // ANGLE_ESTIMATOR_COMMAND_H
#define sotDEBUGOUT(level)
#define sotDEBUGIN(level)
FromSensor(Dynamic &entity, const std::string &docstring)
virtual Value doExecute()