deprecate floating and planar joints. #4000

This commit is contained in:
Wim Meeussen 2012-01-05 10:43:53 -08:00
parent 63cdd808c4
commit 630409165b
1 changed files with 6 additions and 0 deletions

View File

@ -436,9 +436,15 @@ bool Joint::initXml(TiXmlElement* config)
}
std::string type_str = type_char;
if (type_str == "planar")
{
type = PLANAR;
ROS_WARN("Planar joints are deprecated in the URDF!\n");
}
else if (type_str == "floating")
{
type = FLOATING;
ROS_WARN("Floating joints are deprecated in the URDF!\n");
}
else if (type_str == "revolute")
type = REVOLUTE;
else if (type_str == "continuous")