joints/data: correct classname

parent eecb7aef
......@@ -555,7 +555,10 @@ namespace pinocchio
, UDinv(UD_t::Zero())
{}
static std::string classname() { return std::string("JointDataPrismatic"); }
static std::string classname()
{
return std::string("JointDataP") + axisLabel<axis>();
}
std::string shortname() const { return classname(); }
}; // struct JointDataPrismaticTpl
......
......@@ -75,7 +75,10 @@ namespace pinocchio
, UDinv(UD_t::Zero())
{}
static std::string classname() { return std::string("JointDataRevoluteUnbounded"); }
static std::string classname()
{
return std::string("JointDataRUB") + axisLabel<axis>();
}
std::string shortname() const { return classname(); }
}; // struct JointDataRevoluteUnbounded
......
......@@ -652,7 +652,10 @@ namespace pinocchio
, UDinv(UD_t::Zero())
{}
static std::string classname() { return std::string("JointDataRevolute"); }
static std::string classname()
{
return std::string("JointDataR") + axisLabel<axis>();
}
std::string shortname() const { return classname(); }
}; // struct JointDataRevoluteTpl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment