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
pinocchio::Model * m_model
DisplayModel(DynamicPinocchio &entity, const std::string &docstring)
#define sotDEBUGOUT(level)
std::vector< std::string > names
GetDimension(DynamicPinocchio &entity, const std::string &docstring)
This class provides an inverse dynamic model of the robot. More precisely it wraps the newton euler a...
GetJointNames(DynamicPinocchio &entity, const std::string &docstring)
#define sotDEBUGIN(level)
virtual Value doExecute()
virtual Value doExecute()
void displayModel() const
virtual Value doExecute()