Add attach tag to MJCF.
PiperOrigin-RevId: 651117953 Change-Id: I57b0e53ed44607d479b3785d908e0837c0804cf3
This commit is contained in:
committed by
Copybara-Service
parent
5b080bacc4
commit
27b9ddda5b
+2
-1
@@ -19,6 +19,7 @@
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
#include <mujoco/mjmodel.h>
|
||||
#include <mujoco/mjspec.h>
|
||||
#include "xml/xml_base.h"
|
||||
#include "tinyxml2.h"
|
||||
@@ -41,7 +42,7 @@ class mjXURDF : public mjXBase {
|
||||
double* pos,
|
||||
double* quat,
|
||||
bool static_body);
|
||||
void Parse(tinyxml2::XMLElement* root); // main parser
|
||||
void Parse(tinyxml2::XMLElement* root, const mjVFS* vfs = nullptr); // main parser
|
||||
|
||||
private:
|
||||
std::string GetPrefixedName(const std::string& name); // get prefix/name of element
|
||||
|
||||
Reference in New Issue
Block a user