Add body name when loading urdf.

This commit is contained in:
yunfeibai
2017-03-23 10:16:39 -07:00
parent 59fcf7ca24
commit 50f0cfca9e
7 changed files with 21 additions and 1 deletions

View File

@@ -269,6 +269,11 @@ std::string BulletURDFImporter::getLinkName(int linkIndex) const
}
return "";
}
std::string BulletURDFImporter::getBodyName() const
{
return m_data->m_urdfParser.getModel().m_name;
}
std::string BulletURDFImporter::getJointName(int linkIndex) const
{