Files
Mujoco_WASM/test/engine/testdata/actuation/sites.xml
T
Yuval Tassa 51aa375af0 Improvements related to models where joint-actuator relationship is not one-to-one:
- Add `joint-actuatorforcerange` for clamping total actuator force at joints. Add `sensor-jointactuatorfrc` for sensing total actuator forces on a single joint.
See [documentation](https://mujoco.readthedocs.io/en/latest//modeling.html#actuator-force-clamping) for justification and use cases.
- Add simple car model to `model/`.
- Move actuation-related test models into `engine/testdata/actuation/`.

PiperOrigin-RevId: 549355941
Change-Id: I27f6c1f80426d73a2811ef5ae74684a228b2fbd1
2023-07-19 10:29:32 -07:00

26 lines
1.2 KiB
XML

<mujoco>
<option density="1000">
<flag gravity="disable"/>
</option>
<worldbody>
<geom type="plane" size="10 10 .1" rgba="1 1 1 1"/>
<light pos="0 0 20"/>
<body name="body_stateless" pos="0 0 .5">
<freejoint/>
<geom type="box" size=".5 .5 .1" pos="0 0 .4"/>
<site name="capsule" pos=".5 .5 .5" rgba="0 0 1 1" size=".1 .1" type="capsule"/>
<site name="ellipsoid" pos=".5 -.5 .5" rgba="0 0 1 1" size=".1 .3 .1" type="ellipsoid" euler="0 0 -45"/>
<site name="cylinder" pos="0 0 .5" rgba="0 0 1 1" size=".2 .1" type="cylinder"/>
<site name="box" pos="-.5 -.5 .5" rgba="0 0 1 1" size=".1 .1 .2" type="box"/>
</body>
</worldbody>
<actuator>
<general name="ellipsoid" site="ellipsoid" gear="0 1 0 0 0 0" ctrllimited="true" ctrlrange="-100 100"/>
<general name="cylinder" site="cylinder" gear="0 0 0 0 0 1" ctrllimited="true" ctrlrange="-100 100"/>
<general name="box" site="box" dyntype="integrator" gear="0 0 1 0 0 0" ctrllimited="true" ctrlrange="-100 100"/>
<general name="capsule" site="capsule" dyntype="integrator" gear="0 0 1 0 0 0" ctrllimited="true" ctrlrange="-100 100"/>
</actuator>
</mujoco>