From 36142cddee40fec304abdb25dde7db96e4f1e71e Mon Sep 17 00:00:00 2001 From: Alessio Quaglino Date: Tue, 18 Feb 2025 08:06:34 -0800 Subject: [PATCH] Fix site_xmat dimension in MJX docstring. PiperOrigin-RevId: 728213616 Change-Id: Icdea2194d4e4e347e88969eb6ecd45d1300cc0bc --- mjx/mujoco/mjx/_src/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mjx/mujoco/mjx/_src/types.py b/mjx/mujoco/mjx/_src/types.py index a7fd3617..9a9d2146 100644 --- a/mjx/mujoco/mjx/_src/types.py +++ b/mjx/mujoco/mjx/_src/types.py @@ -1260,7 +1260,7 @@ class Data(PyTreeNode): geom_xpos: Cartesian geom position (ngeom, 3) geom_xmat: Cartesian geom orientation (ngeom, 3, 3) site_xpos: Cartesian site position (nsite, 3) - site_xmat: Cartesian site orientation (nsite, 9) + site_xmat: Cartesian site orientation (nsite, 3, 3) cam_xpos: Cartesian camera position (ncam, 3) cam_xmat: Cartesian camera orientation (ncam, 3, 3) light_xpos: Cartesian light position (nlight, 3)