From 3e378e2c37b5cb49adf7c2b2e1c47061473aa34c Mon Sep 17 00:00:00 2001 From: Alessio Quaglino Date: Thu, 6 Oct 2022 05:42:51 -0700 Subject: [PATCH] Autogeneration of XML schema in documentation. BEGIN_PUBLIC Add script for the autogeneration of the XML schema in the documentation. ENG_PUBLIC PiperOrigin-RevId: 479289884 Change-Id: I49423195fbd1067d4a4d7be78018d446575bc7e1 --- doc/XMLschema.rst | 242 ++++++++++++++++++++++++++++------------ doc/includes/macros.rst | 3 + 2 files changed, 175 insertions(+), 70 deletions(-) diff --git a/doc/XMLschema.rst b/doc/XMLschema.rst index af6ef942..e921334d 100644 --- a/doc/XMLschema.rst +++ b/doc/XMLschema.rst @@ -10,19 +10,19 @@ | | | :class: mjcf-attributes | | | | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`boundmass` | :at:`boundinertia` | :at:`settotalmass` | | +| | | | :at:`autolimits` | :at:`boundmass` | :at:`boundinertia` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`balanceinertia` | :at:`strippath` | :at:`coordinate` | | +| | | | :at:`settotalmass` | :at:`balanceinertia` | :at:`strippath` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`angle` | :at:`fitaabb` | :at:`eulerseq` | | +| | | | :at:`coordinate` | :at:`angle` | :at:`fitaabb` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`meshdir` | :at:`texturedir` | :at:`discardvisual` | | +| | | | :at:`eulerseq` | :at:`meshdir` | :at:`texturedir` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`convexhull` | :at:`usethread` | :at:`fusestatic` | | +| | | | :at:`discardvisual` | :at:`convexhull` | :at:`usethread` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`inertiafromgeom` | :at:`inertiagrouprange` | :at:`exactmeshinertia` | | +| | | | :at:`fusestatic` | :at:`inertiafromgeom` | :at:`inertiagrouprange` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`autolimits` | :at:`assetdir` | | | +| | | | :at:`exactmeshinertia` | :at:`assetdir` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`lengthrange` | ? | .. table:: | @@ -240,19 +240,19 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`material` | :at:`friction` | :at:`mass` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`density` | :at:`solmix` | :at:`solref` | | +| | | | :at:`density` | :at:`shellinertia` | :at:`solmix` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`solimp` | :at:`margin` | :at:`gap` | | +| | | | :at:`solref` | :at:`solimp` | :at:`margin` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`fromto` | :at:`axisangle` | :at:`xyaxes` | | +| | | | :at:`gap` | :at:`fromto` | :at:`axisangle` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`zaxis` | :at:`euler` | :at:`hfield` | | +| | | | :at:`xyaxes` | :at:`zaxis` | :at:`euler` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`mesh` | :at:`fitscale` | :at:`rgba` | | +| | | | :at:`hfield` | :at:`mesh` | :at:`fitscale` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`user` | :at:`fluidshape` | :at:`fluidcoef` | | +| | | | :at:`rgba` | :at:`fluidshape` | :at:`fluidcoef` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`shellinertia` | | | | +| | | | :at:`user` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`site` | ? | .. table:: | @@ -337,13 +337,13 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`ctrlrange` | :at:`forcerange` | :at:`actrange` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`gear` | :at:`cranklength` | | | +| | | | :at:`gear` | :at:`cranklength` | :at:`user` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`user` | :at:`group` | | | +| | | | :at:`group` | :at:`dyntype` | :at:`gaintype` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`dyntype` | :at:`gaintype` | :at:`biastype` | | +| | | | :at:`biastype` | :at:`dynprm` | :at:`gainprm` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`dynprm` | :at:`gainprm` | :at:`biasprm` | | +| | | | :at:`biasprm` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`motor` | ? | .. table:: | @@ -385,22 +385,22 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`ctrllimited` | :at:`forcelimited` | :at:`ctrlrange` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`forcerange` | :at:`gear` | :at:`cranklength` | | +| | | | :at:`forcerange` | :at:`actrange` | :at:`gear` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`user` | :at:`group` | :at:`kp` | | +| | | | :at:`cranklength` | :at:`user` | :at:`group` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`actrange` | | | | +| | | | :at:`kp` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`damper` | ? | .. table:: | | | | :class: mjcf-attributes | | | | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`ctrllimited` | :at:`forcelimited` | :at:`ctrlrange` | | +| | | | :at:`forcelimited` | :at:`ctrlrange` | :at:`forcerange` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`forcerange` | :at:`gear` | :at:`cranklength` | | +| | | | :at:`gear` | :at:`cranklength` | :at:`user` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`user` | :at:`group` | :at:`kv` | | +| | | | :at:`group` | :at:`kv` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`cylinder` | ? | .. table:: | @@ -433,6 +433,38 @@ | | | | :at:`fpmax` | :at:`fvmax` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ +| |_2|:el:`adhesion` | ? | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`forcelimited` | :at:`ctrlrange` | :at:`forcerange` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`gain` | :at:`user` | :at:`group` | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ +| |_|:el:`extension` | \* | *no attribute* | ++--------------------------+----+------------------------------------------------------------------------------------+ +| |_2|:el:`required` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`plugin` | | | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ +| |_3|:el:`instance` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`name` | | | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ +| |_4|:el:`config` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`key` | :at:`value` | | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ | |_|:el:`custom` | \* | *no attribute* | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`numeric` | \* | .. table:: | @@ -514,7 +546,7 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`rgba` | :at:`inflate` | :at:`vertex` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`texcoord` | :at:`face` | | | +| | | | :at:`texcoord` | :at:`face` | :at:`group` | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_3|:el:`bone` | \* | .. table:: | @@ -539,7 +571,7 @@ | | | | :at:`rgba` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ -| |_|:el:`(world)body` | R | .. table:: | +| |_|:el:`body` | R | .. table:: | | | | :class: mjcf-attributes | | | | | | | | +-------------------------+-------------------------+-------------------------+ | @@ -601,19 +633,19 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`material` | :at:`friction` | :at:`mass` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`density` | :at:`solmix` | :at:`solref` | | +| | | | :at:`density` | :at:`shellinertia` | :at:`solmix` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`solimp` | :at:`margin` | :at:`gap` | | +| | | | :at:`solref` | :at:`solimp` | :at:`margin` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`fromto` | :at:`pos` | :at:`quat` | | +| | | | :at:`gap` | :at:`fromto` | :at:`pos` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`axisangle` | :at:`xyaxes` | :at:`zaxis` | | +| | | | :at:`quat` | :at:`axisangle` | :at:`xyaxes` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`euler` | :at:`hfield` | :at:`mesh` | | +| | | | :at:`zaxis` | :at:`euler` | :at:`hfield` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`fitscale` | :at:`rgba` | :at:`user` | | +| | | | :at:`mesh` | :at:`fitscale` | :at:`rgba` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`fluidshape` | :at:`fluidcoef` | :at:`shellinertia` | | +| | | | :at:`fluidshape` | :at:`fluidcoef` | :at:`user` | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`site` | \* | .. table:: | @@ -708,9 +740,9 @@ | | | :class: mjcf-attributes | | | | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`texcoord` | :at:`material` | :at:`rgba` | | +| | | | :at:`texcoord` | :at:`material` | :at:`group` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`inflate` | :at:`subgrid` | | | +| | | | :at:`rgba` | :at:`inflate` | :at:`subgrid` | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_3|:el:`geom` | ? | .. table:: | @@ -787,9 +819,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`class` | :at:`body1` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`body2` | :at:`relpose` | :at:`active` | | +| | | | :at:`body2` | :at:`relpose` | :at:`anchor` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`solref` | :at:`solimp` | :at:`anchor` | | +| | | | :at:`active` | :at:`solref` | :at:`solimp` | | | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`torquescale` | | | | | | | +-------------------------+-------------------------+-------------------------+ | @@ -901,13 +933,13 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`ctrlrange` | :at:`forcerange` | :at:`actrange` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`joint` | :at:`tendon` | :at:`site` | | +| | | | :at:`lengthrange` | :at:`gear` | :at:`cranklength` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`lengthrange` | :at:`gear` | :at:`jointinparent` | | +| | | | :at:`user` | :at:`joint` | :at:`jointinparent` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cranklength` | :at:`cranksite` | :at:`slidersite` | | +| | | | :at:`tendon` | :at:`slidersite` | :at:`cranksite` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`user` | | | | +| | | | :at:`site` | :at:`refsite` | :at:`body` | | | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`dyntype` | :at:`gaintype` | :at:`biastype` | | | | | +-------------------------+-------------------------+-------------------------+ | @@ -928,7 +960,7 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`jointinparent` | :at:`tendon` | :at:`slidersite` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cranksite` | :at:`site` | | | +| | | | :at:`cranksite` | :at:`site` | :at:`refsite` | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`position` | \* | .. table:: | @@ -945,7 +977,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`jointinparent` | :at:`tendon` | :at:`slidersite` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cranksite` | :at:`site` | :at:`kp` | | +| | | | :at:`cranksite` | :at:`site` | :at:`refsite` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`kp` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`velocity` | \* | .. table:: | @@ -962,7 +996,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`jointinparent` | :at:`tendon` | :at:`slidersite` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cranksite` | :at:`site` | :at:`kv` | | +| | | | :at:`cranksite` | :at:`site` | :at:`refsite` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`kv` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`intvelocity` | \* | .. table:: | @@ -973,7 +1009,7 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`ctrllimited` | :at:`forcelimited` | :at:`ctrlrange` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`forcerange` | :at:`lengthrange` | :at:`actrange` | | +| | | | :at:`forcerange` | :at:`actrange` | :at:`lengthrange` | | | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`gear` | :at:`cranklength` | :at:`user` | | | | | +-------------------------+-------------------------+-------------------------+ | @@ -981,7 +1017,7 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`slidersite` | :at:`cranksite` | :at:`site` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`kp` | | | | +| | | | :at:`refsite` | :at:`kp` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`damper` | \* | .. table:: | @@ -990,15 +1026,15 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`class` | :at:`group` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`ctrllimited` | :at:`forcelimited` | :at:`ctrlrange` | | +| | | | :at:`forcelimited` | :at:`ctrlrange` | :at:`forcerange` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`forcerange` | :at:`lengthrange` | :at:`gear` | | +| | | | :at:`lengthrange` | :at:`gear` | :at:`cranklength` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cranklength` | :at:`user` | :at:`joint` | | +| | | | :at:`user` | :at:`joint` | :at:`jointinparent` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`jointinparent` | :at:`tendon` | :at:`slidersite` | | +| | | | :at:`tendon` | :at:`slidersite` | :at:`cranksite` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cranksite` | :at:`site` | :at:`kv` | | +| | | | :at:`site` | :at:`refsite` | :at:`kv` | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`cylinder` | \* | .. table:: | @@ -1015,9 +1051,11 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`jointinparent` | :at:`tendon` | :at:`slidersite` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cranksite` | :at:`site` | :at:`timeconst` | | +| | | | :at:`cranksite` | :at:`site` | :at:`refsite` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`area` | :at:`diameter` | :at:`bias` | | +| | | | :at:`timeconst` | :at:`area` | :at:`diameter` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`bias` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`muscle` | \* | .. table:: | @@ -1043,6 +1081,43 @@ | | | | :at:`fvmax` | | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ +| |_2|:el:`adhesion` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`name` | :at:`class` | :at:`group` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`forcelimited` | :at:`ctrlrange` | :at:`forcerange` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`user` | :at:`body` | :at:`gain` | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ +| |_2|:el:`plugin` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`name` | :at:`class` | :at:`plugin` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`instance` | :at:`group` | :at:`ctrllimited` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`forcelimited` | :at:`ctrlrange` | :at:`forcerange` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`lengthrange` | :at:`gear` | :at:`cranklength` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`joint` | :at:`jointinparent` | :at:`site` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`tendon` | :at:`cranksite` | :at:`slidersite` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`user` | | | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ +| |_3|:el:`config` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`key` | :at:`value` | | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ | |_|:el:`sensor` | \* | *no attribute* | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`touch` | \* | .. table:: | @@ -1258,9 +1333,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`objtype` | :at:`objname` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cutoff` | :at:`noise` | :at:`user` | | +| | | | :at:`reftype` | :at:`refname` | :at:`cutoff` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`reftype` | :at:`refname` | | | +| | | | :at:`noise` | :at:`user` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`framequat` | \* | .. table:: | @@ -1269,9 +1344,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`objtype` | :at:`objname` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cutoff` | :at:`noise` | :at:`user` | | +| | | | :at:`reftype` | :at:`refname` | :at:`cutoff` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`reftype` | :at:`refname` | | | +| | | | :at:`noise` | :at:`user` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`framexaxis` | \* | .. table:: | @@ -1280,9 +1355,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`objtype` | :at:`objname` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cutoff` | :at:`noise` | :at:`user` | | +| | | | :at:`reftype` | :at:`refname` | :at:`cutoff` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`reftype` | :at:`refname` | | | +| | | | :at:`noise` | :at:`user` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`frameyaxis` | \* | .. table:: | @@ -1291,9 +1366,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`objtype` | :at:`objname` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cutoff` | :at:`noise` | :at:`user` | | +| | | | :at:`reftype` | :at:`refname` | :at:`cutoff` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`reftype` | :at:`refname` | | | +| | | | :at:`noise` | :at:`user` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`framezaxis` | \* | .. table:: | @@ -1302,9 +1377,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`objtype` | :at:`objname` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cutoff` | :at:`noise` | :at:`user` | | +| | | | :at:`reftype` | :at:`refname` | :at:`cutoff` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`reftype` | :at:`refname` | | | +| | | | :at:`noise` | :at:`user` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`framelinvel` | \* | .. table:: | @@ -1313,9 +1388,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`objtype` | :at:`objname` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cutoff` | :at:`noise` | :at:`user` | | +| | | | :at:`reftype` | :at:`refname` | :at:`cutoff` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`reftype` | :at:`refname` | | | +| | | | :at:`noise` | :at:`user` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`frameangvel` | \* | .. table:: | @@ -1324,9 +1399,9 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`objtype` | :at:`objname` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`cutoff` | :at:`noise` | :at:`user` | | +| | | | :at:`reftype` | :at:`refname` | :at:`cutoff` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`reftype` | :at:`refname` | | | +| | | | :at:`noise` | :at:`user` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`framelinacc` | \* | .. table:: | @@ -1374,6 +1449,15 @@ | | | | :at:`noise` | :at:`user` | | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ +| |_2|:el:`clock` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`name` | :at:`cutoff` | :at:`noise` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`user` | | | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`user` | \* | .. table:: | | | | :class: mjcf-attributes | | | | | @@ -1385,6 +1469,24 @@ | | | | :at:`cutoff` | :at:`noise` | :at:`user` | | | | | +-------------------------+-------------------------+-------------------------+ | +--------------------------+----+------------------------------------------------------------------------------------+ +| |_2|:el:`plugin` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`name` | :at:`plugin` | :at:`instance` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`cutoff` | :at:`objtype` | :at:`objname` | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`reftype` | :at:`refname` | :at:`user` | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ +| |_3|:el:`config` | \* | .. table:: | +| | | :class: mjcf-attributes | +| | | | +| | | +-------------------------+-------------------------+-------------------------+ | +| | | | :at:`key` | :at:`value` | | | +| | | +-------------------------+-------------------------+-------------------------+ | ++--------------------------+----+------------------------------------------------------------------------------------+ | |_|:el:`keyframe` | \* | *no attribute* | +--------------------------+----+------------------------------------------------------------------------------------+ | |_2|:el:`key` | \* | .. table:: | @@ -1393,8 +1495,8 @@ | | | +-------------------------+-------------------------+-------------------------+ | | | | | :at:`name` | :at:`time` | :at:`qpos` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`qvel` | :at:`act` | :at:`ctrl` | | +| | | | :at:`qvel` | :at:`act` | :at:`mpos` | | | | | +-------------------------+-------------------------+-------------------------+ | -| | | | :at:`mpos` | :at:`mquat` | | | +| | | | :at:`mquat` | :at:`ctrl` | | | | | | +-------------------------+-------------------------+-------------------------+ | -+--------------------------+----+------------------------------------------------------------------------------------+ \ No newline at end of file ++--------------------------+----+------------------------------------------------------------------------------------+ diff --git a/doc/includes/macros.rst b/doc/includes/macros.rst index 4d9ca5de..ace6ee04 100644 --- a/doc/includes/macros.rst +++ b/doc/includes/macros.rst @@ -10,6 +10,9 @@ .. |_3| unicode:: 0xA0 0xA0 0xA0 0xA0 0xA0 0xA0 :trim: +.. |_4| unicode:: 0xA0 0xA0 0xA0 0xA0 0xA0 0xA0 0xA0 0xA0 + :trim: + .. Macro for injecting a custom line break.