Skip to content

Commit 0141c6b

Browse files
erez-tomcopybara-github
authored andcommitted
Include reference to the State API in the mujoco-py migration guide.
PiperOrigin-RevId: 809349546 Change-Id: I4d48223962e6b89e3844c779e9499932c7b72945
1 parent 0e11047 commit 0141c6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/python.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,8 +1072,8 @@ non-exhaustive list of specific mujoco-py features:
10721072
``sim.get_state()``, ``sim.set_state(state)``, ``sim.get_flattened_state()``, ``sim.set_state_from_flattened(state)``
10731073
The MuJoCo library’s computation is deterministic given a specific input, as explained in the :ref:`Programming
10741074
section <Simulation>`. mujoco-py implements methods for getting and setting some of the relevant fields (and
1075-
similarly ``dm_control.Physics`` offers methods that correspond to the flattened case). ``mujoco`` do not offer such
1076-
abstraction, and the user is expected to get/set the values of the relevant fields explicitly.
1075+
similarly ``dm_control.Physics`` offers methods that correspond to the flattened case). This functionality is
1076+
described in the :ref:`state <geState>` section.
10771077

10781078
``sim.model.get_joint_qvel_addr(joint_name)``
10791079
This is a convenience method in mujoco-py that returns a list of contiguous indices corresponding to this joint. The

0 commit comments

Comments
 (0)