From fa1b01360a0f1d53566057a286512f0760ed7623 Mon Sep 17 00:00:00 2001 From: Yuval Tassa Date: Sun, 16 Mar 2025 17:33:35 -0700 Subject: [PATCH] Delete reference to nonexistent flag in docs. PiperOrigin-RevId: 737434746 Change-Id: I277b9d910f050315b4f5c855d1955989e668c46f --- doc/XMLreference.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/XMLreference.rst b/doc/XMLreference.rst index 756adca1..ca7258f8 100644 --- a/doc/XMLreference.rst +++ b/doc/XMLreference.rst @@ -1888,11 +1888,11 @@ defined. Its body name is automatically defined as "world". :at:`mocap`: :at-val:`[false, true], "false"` If this attribute is "true", the body is labeled as a mocap body. This is allowed only for bodies that are children of the world body and have no joints. Such bodies are fixed from the viewpoint of the dynamics, but nevertheless the - forward kinematics set their position and orientation from the fields mjData.mocap_pos and mjData.mocap_quat at each + forward kinematics set their position and orientation from the fields ``mjData.mocap_{pos,quat}`` at each time step. The size of these arrays is adjusted by the compiler so as to match the number of mocap bodies in the model. This mechanism can be used to stream motion capture data into the simulation. Mocap bodies can also be moved via mouse perturbations in the interactive visualizer, even in dynamic simulation mode. This can be useful for - creating props with adjustable position and orientation. See also the mocap attribute of :ref:`flag `. + creating props with adjustable position and orientation. .. _body-pos: