Add body name when loading urdf.
This commit is contained in:
@@ -1311,6 +1311,11 @@ int BulletMJCFImporter::getRootLinkIndex() const
|
||||
return "";
|
||||
}
|
||||
|
||||
std::string BulletMJCFImporter::getBodyName() const
|
||||
{
|
||||
return m_data->m_fileModelName;
|
||||
}
|
||||
|
||||
bool BulletMJCFImporter::getLinkColor(int linkIndex, btVector4& colorRGBA) const
|
||||
{
|
||||
// UrdfLink* link = m_data->getLink(linkIndex);
|
||||
|
||||
Reference in New Issue
Block a user