Add mjs_findElement() to find any element in a spec by name.
Also, remove mjs_findMesh() and mjs_findKeyframe(). PiperOrigin-RevId: 670978980 Change-Id: Id88b800eb8a4c5efc40866f72a4442bf1d1437d0
This commit is contained in:
committed by
Copybara-Service
parent
0e8c0b80eb
commit
d3dfa6f970
@@ -4123,7 +4123,16 @@ mjs_findBody
|
||||
|
||||
.. mujoco-include:: mjs_findBody
|
||||
|
||||
Find body in model by name.
|
||||
Find body in spec by name.
|
||||
|
||||
.. _mjs_findElement:
|
||||
|
||||
mjs_findElement
|
||||
~~~~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mjs_findElement
|
||||
|
||||
Find element in spec by name.
|
||||
|
||||
.. _mjs_findChild:
|
||||
|
||||
@@ -4134,15 +4143,6 @@ mjs_findChild
|
||||
|
||||
Find child body by name.
|
||||
|
||||
.. _mjs_findMesh:
|
||||
|
||||
mjs_findMesh
|
||||
~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mjs_findMesh
|
||||
|
||||
Find mesh by name.
|
||||
|
||||
.. _mjs_findFrame:
|
||||
|
||||
mjs_findFrame
|
||||
@@ -4152,15 +4152,6 @@ mjs_findFrame
|
||||
|
||||
Find frame by name.
|
||||
|
||||
.. _mjs_findKeyframe:
|
||||
|
||||
mjs_findKeyframe
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
.. mujoco-include:: mjs_findKeyframe
|
||||
|
||||
Find keyframe by name.
|
||||
|
||||
.. _mjs_getDefault:
|
||||
|
||||
mjs_getDefault
|
||||
|
||||
Reference in New Issue
Block a user