Add suffix to duplicated assets.
PiperOrigin-RevId: 588775467 Change-Id: I3a0d2a14601cf018b0c8c56728bd3ae22adb8ec2
This commit is contained in:
committed by
Copybara-Service
parent
e4359c04df
commit
d12fe594d9
@@ -176,10 +176,13 @@ class mjCModel {
|
||||
template <class T> // add object of any type, with def parameter
|
||||
T* AddObjectDef(std::vector<T*>& list, std::string type, mjCDef* def);
|
||||
|
||||
template<class T> // if asset name is missing, set to filename
|
||||
void SetDefaultNames(std::vector<T*>& assets);
|
||||
|
||||
//------------------------ compile phases
|
||||
void MakeLists(mjCBody* body); // make lists of bodies, geoms, joints, sites
|
||||
void IndexAssets(void); // convert asset names into indices
|
||||
void SetDefaultNames(void); // if mesh or hfield name is missing, set to filename
|
||||
void CheckEmptyNames(void); // check empty names
|
||||
void SetSizes(void); // compute sizes
|
||||
void AutoSpringDamper(mjModel*);// automatic stiffness and damping computation
|
||||
void LengthRange(mjModel*, mjData*); // compute actuator lengthrange
|
||||
|
||||
Reference in New Issue
Block a user