diff --git a/doc/XMLreference.rst b/doc/XMLreference.rst index 58dbc9bd48..18750ddf21 100644 --- a/doc/XMLreference.rst +++ b/doc/XMLreference.rst @@ -6110,10 +6110,12 @@ Associate this actuator with an :ref:`engine plugin`. Either :at:`plug .. _actuator-plugin-actearly: +.. _actuator-plugin-body: + .. |actuator/plugin attrib list| replace:: :at:`name`, :at:`class`, :at:`group`, :at:`actlimited`, :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`, - :at:`actdim`, :at:`dynprm`, :at:`actearly` + :at:`actdim`, :at:`dynprm`, :at:`actearly`, :at:`body` |actuator/plugin attrib list| Same as in actuator/ :ref:`general `. diff --git a/src/xml/xml_native_reader.cc b/src/xml/xml_native_reader.cc index 4a6041733b..7fcebf9ecf 100644 --- a/src/xml/xml_native_reader.cc +++ b/src/xml/xml_native_reader.cc @@ -431,11 +431,11 @@ const char* MJCF[nMJCF][mjXATTRNUM] = { "lmin", "lmax", "vmax", "fpmax", "fvmax"}, {"adhesion", "*", "9", "name", "class", "group", "forcelimited", "ctrlrange", "forcerange", "user", "body", "gain"}, - {"plugin", "*", "25", "name", "class", "plugin", "instance", "group", + {"plugin", "*", "26", "name", "class", "plugin", "instance", "group", "ctrllimited", "forcelimited", "actlimited", "ctrlrange", "forcerange", "actrange", "lengthrange", "gear", "cranklength", "joint", "jointinparent", "site", "actdim", "dyntype", "dynprm", "tendon", "cranksite", "slidersite", "user", - "actearly"}, + "actearly", "body"}, {"<"}, {"config", "*", "2", "key", "value"}, {">"},