Skip to content

Commit 3046acd

Browse files
nimrod-gileadicopybara-github
authored andcommitted
Internal change.
PiperOrigin-RevId: 604590579 Change-Id: If05d1c7eb60fe65b0a72d02cdb2da54591f8b6f0
1 parent dca5455 commit 3046acd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/mujoco_mpc/demos/direct/direct_optimizer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def qpos_to_qvel_qacc(
8686
qpos: npt.ArrayLike,
8787
horizon: int,
8888
) -> Tuple[npt.ArrayLike, npt.ArrayLike]:
89-
"""Velocity and acceleration from configuration.
89+
"""Velocity and acceleration from mujoco_mpc.demos.configuration.
9090
9191
v1 = (q1 - q0) / h
9292
a1 = (v2 - v1) / h = (q2 - 2q1 + q0) / h^2
@@ -131,7 +131,7 @@ def diff_qpos_to_qvel_qacc(
131131
) -> Tuple[
132132
npt.ArrayLike, npt.ArrayLike, npt.ArrayLike, npt.ArrayLike, npt.ArrayLike
133133
]:
134-
"""Velocity and acceleration from configurations (derivatives wrt configurations.
134+
"""Velocity and acceleration from mujoco_mpc.demos.configurations (derivatives wrt configurations.
135135
136136
Args:
137137
model (mujoco.MjModel): MuJoCo model

0 commit comments

Comments
 (0)