kdl parser should warn when converting unknown joint type into fixed joint

This commit is contained in:
wim 2009-11-21 01:22:45 +00:00
parent ac0782a7fa
commit c2ed97c01c
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ Joint toKdl(boost::shared_ptr<urdf::Joint> jnt)
return Joint(jnt->name, F_parent_jnt.p, F_parent_jnt.M * axis, Joint::TransAxis); return Joint(jnt->name, F_parent_jnt.p, F_parent_jnt.M * axis, Joint::TransAxis);
} }
default:{ default:{
ROS_WARN("Converting unknown joint type of joint '%s' into a fixed joint", jnt->name.c_str());
return Joint(jnt->name, Joint::None); return Joint(jnt->name, Joint::None);
} }
} }