Skip to content

Commit

Permalink
Add sensor to replicate example model. Fixes #1654
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 633213086
Change-Id: I1672cf31871637497bcb0f26880e0a41a9f510bc
  • Loading branch information
yuvaltassa authored and Copybara-Service committed May 13, 2024
1 parent c6b1293 commit 3809951
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/XMLreference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ and namespaced appropriately. Detailed examples of models using replicate can be
</replicate>
</replicate>
</worldbody>
<sensor>
<accelerometer name="Bob" site="Alice"/>
</sensor>
</mujoco>
Results in this model:
Expand All @@ -227,6 +231,13 @@ and namespaced appropriately. Detailed examples of models using replicate can be
<geom name="Alice-01" size="0.1" pos="0 1 0" quat="1 1 0 0"/>
<geom name="Alice-11" size="0.1" pos="1 1 0" quat="0.5 0.5 0.5 0.5"/>
</worldbody>
<sensor>
<accelerometer name="Bob-00" site="Alice-00"/>
<accelerometer name="Bob-10" site="Alice-10"/>
<accelerometer name="Bob-01" site="Alice-01"/>
<accelerometer name="Bob-11" site="Alice-11"/>
</sensor>
</mujoco>
.. _include:
Expand Down

0 comments on commit 3809951

Please sign in to comment.