fix Parse joint dynamics in SDF

This commit is contained in:
erwincoumans authored and GitHub committed 2016-07-20 15:41:58 -07:00
1 parent 2278385802
commit e88de13cc6
1 file changed
+1 -1
@@ -960,7 +960,7 @@ bool UrdfParser::parseJoint(UrdfJoint& joint, TiXmlElement *config, ErrorLogger*
return false;
}
TiXmlElement *prop_xml = config->FirstChildElement("dynamics");
TiXmlElement *prop_xml = axis_xml->FirstChildElement("dynamics");
if (prop_xml)
{
if (!parseJointDynamics(joint, prop_xml,logger))