Verified Commit a9ea5fa2 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

joints/data: correct classname

parent eecb7aef
...@@ -555,7 +555,10 @@ namespace pinocchio ...@@ -555,7 +555,10 @@ namespace pinocchio
, UDinv(UD_t::Zero()) , 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(); } std::string shortname() const { return classname(); }
}; // struct JointDataPrismaticTpl }; // struct JointDataPrismaticTpl
......
...@@ -75,7 +75,10 @@ namespace pinocchio ...@@ -75,7 +75,10 @@ namespace pinocchio
, UDinv(UD_t::Zero()) , 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(); } std::string shortname() const { return classname(); }
}; // struct JointDataRevoluteUnbounded }; // struct JointDataRevoluteUnbounded
......
...@@ -652,7 +652,10 @@ namespace pinocchio ...@@ -652,7 +652,10 @@ namespace pinocchio
, UDinv(UD_t::Zero()) , 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(); } std::string shortname() const { return classname(); }
}; // struct JointDataRevoluteTpl }; // 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