kdl parser should warn when converting unknown joint type into fixed joint
This commit is contained in:
parent
ac0782a7fa
commit
c2ed97c01c
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue