9 #ifndef DYNAMIC_COMMAND_H
10 #define DYNAMIC_COMMAND_H
16 #include <boost/assign/list_of.hpp>
22 using ::dynamicgraph::command::Command;
23 using ::dynamicgraph::command::Value;
36 : Command(entity, std::vector<Value::
Type>(), docstring) {}
55 : Command(entity, std::vector<Value::
Type>(), docstring) {}
58 unsigned int dimension =
robot.m_model->nv;
59 return Value(dimension);
70 : Command(entity, std::vector<Value::
Type>(), docstring) {}
75 "model has not been initialized.");
77 const std::vector<std::string>& jointNames =
robot.m_model->names;
79 assert(jointNames.size() >= 1);
80 std::vector<Value>
res;
81 for (std::size_t
i = 1;
i < jointNames.size(); ++
i) {
82 res.push_back(Value(jointNames[
i]));
91 #endif // DYNAMIC_COMMAND_H