Files
Mujoco_WASM/test/engine/testdata/ray/ray_swing.xml
T
Yuval Tassa 70bc7be4bc Add additional data fields that can be reported by rangefinder sensors.
PiperOrigin-RevId: 848316991
Change-Id: Idbf7ba81b4da711a22c23302c8782ab2b0b98d82
2025-12-23 15:33:00 -08:00

25 lines
580 B
XML

<mujoco>
<statistic meansize="0.15"/>
<visual>
<global realtime=".25" elevation="-10"/>
</visual>
<default>
<geom rgba=".5 .5 .5 .5"/>
</default>
<worldbody>
<light pos="0 0 3"/>
<body pos="1 0 0">
<joint axis="0 -1 0" armature="1" stiffness="10" damping="8" springref="200"/>
<inertial mass="1" diaginertia=".002 .002 .002" pos="0 0 1.1"/>
<site name="rf" type="cylinder" pos="-.1 0 1.1" zaxis="-1 .1 0" size=".02 .05"/>
</body>
</worldbody>
<sensor>
<rangefinder site="rf" data="dist normal"/>
</sensor>
</mujoco>