Cartesian end-effector control using site transmission.
- Added `refsite` attribute to actuators with `site` transmission. - Such actuators now have a well defined length and can be used for e.g., Cartesian end-effector control. - Added example models and documentation describing the new feature. PiperOrigin-RevId: 471561218 Change-Id: I538f09af9600d5c53992c4a9fed325648aab4fa3
This commit is contained in:
committed by
Copybara-Service
parent
834e8dd506
commit
46da1285af
@@ -566,6 +566,7 @@ void mjXWriter::OneActuator(XMLElement* elem, mjCActuator* pact, mjCDef* def) {
|
||||
|
||||
case mjTRN_SITE:
|
||||
WriteAttrTxt(elem, "site", pact->target);
|
||||
WriteAttrTxt(elem, "refsite", pact->refsite);
|
||||
break;
|
||||
|
||||
case mjTRN_BODY:
|
||||
|
||||
Reference in New Issue
Block a user