deprecate floating and planar joints. #4000
This commit is contained in:
parent
63cdd808c4
commit
630409165b
|
@ -436,9 +436,15 @@ bool Joint::initXml(TiXmlElement* config)
|
||||||
}
|
}
|
||||||
std::string type_str = type_char;
|
std::string type_str = type_char;
|
||||||
if (type_str == "planar")
|
if (type_str == "planar")
|
||||||
|
{
|
||||||
type = PLANAR;
|
type = PLANAR;
|
||||||
|
ROS_WARN("Planar joints are deprecated in the URDF!\n");
|
||||||
|
}
|
||||||
else if (type_str == "floating")
|
else if (type_str == "floating")
|
||||||
|
{
|
||||||
type = FLOATING;
|
type = FLOATING;
|
||||||
|
ROS_WARN("Floating joints are deprecated in the URDF!\n");
|
||||||
|
}
|
||||||
else if (type_str == "revolute")
|
else if (type_str == "revolute")
|
||||||
type = REVOLUTE;
|
type = REVOLUTE;
|
||||||
else if (type_str == "continuous")
|
else if (type_str == "continuous")
|
||||||
|
|
Loading…
Reference in New Issue