Files
Mujoco_WASM/test/engine/testdata/derivative/linear.xml
T
Yuval Tassa c50177d301 Add mjd_inverseFD for finite-difference approximations of inverse dynamics Jacobians.
Fixes #703.

PiperOrigin-RevId: 527899700
Change-Id: I10e41a381dcecf62c53b3b9aa72a4ce666161366
2023-04-28 09:04:41 -07:00

40 lines
904 B
XML

<mujoco>
<!-- linear dynamical system with fixed, anaylticaly computable derivatives -->
<default>
<joint axis="1 0 0" damping=".01" stiffness=".1"/>
<geom type="box" size=".05 .05 .05"/>
</default>
<option>
<flag gravity="disable"/>
</option>
<worldbody>
<light pos="0 0 1"/>
<body>
<joint name="joint0"/>
<geom/>
<body pos=".15 0 0">
<joint name="joint1"/>
<site name="accelerometer" pos="0 0 -1"/>
<geom/>
<body pos=".15 0 0">
<joint/>
<geom/>
</body>
</body>
</body>
</worldbody>
<actuator>
<motor joint="joint0" ctrllimited="true" ctrlrange="-1 1"/>
<motor joint="joint1" ctrllimited="true" ctrlrange="-1 1"/>
</actuator>
<sensor>
<jointvel joint="joint1"/>
<jointpos joint="joint0"/>
<accelerometer site="accelerometer"/>
</sensor>
</mujoco>