Add OnePlugin read/write functions and remove redundant plugin attributes from mjCActuator.

PiperOrigin-RevId: 525708657
Change-Id: I762de238f989b13877d5f9198c83c16ea9dc1d8b
This commit is contained in:
Alessio Quaglino
2023-04-20 04:24:57 -07:00
committed by Copybara-Service
parent 34e62aa3c1
commit 4f5da9c554
5 changed files with 44 additions and 60 deletions
+1
View File
@@ -64,6 +64,7 @@ class mjXReader : public mjXBase {
void OneTendon(tinyxml2::XMLElement* elem, mjCTendon* ptendon);
void OneActuator(tinyxml2::XMLElement* elem, mjCActuator* pactuator);
void OneComposite(tinyxml2::XMLElement* elem, mjCBody* pbody, mjCDef* def);
void OnePlugin(tinyxml2::XMLElement* elem, mjCBase* object);
mjXSchema schema; // schema used for validation
mjCDef* GetClass(tinyxml2::XMLElement* section); // get default class name