Disallow repeated nameless assets that use the same file, except for URDFs.
PiperOrigin-RevId: 675114055 Change-Id: I142811ac2d8ef9e12bb8a06d5f3a2fdac02946da
This commit is contained in:
committed by
Copybara-Service
parent
60a1921b34
commit
015bdeb756
@@ -15,6 +15,7 @@
|
||||
#ifndef THIRD_PARTY_MUJOCO_SRC_XML_XML_URDF_
|
||||
#define THIRD_PARTY_MUJOCO_SRC_XML_XML_URDF_
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
@@ -66,6 +67,7 @@ class mjXURDF : public mjXBase {
|
||||
std::vector<std::string> urMat; // material name
|
||||
std::vector<mjRGBA> urRGBA; // material RBG value
|
||||
std::unordered_set<std::string> urGeomNames; // geom name
|
||||
std::map<std::string, std::vector<mjsMesh*>> meshes; // map from name to mjsMesh
|
||||
|
||||
std::string urPrefix; // prefix to apply to all names
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user