Skip to content

Commit

Permalink
Add sensors for potential and kinetic energy.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 716775375
Change-Id: I012c75686e76af17db0ba97e5b01bd207e1570b1
  • Loading branch information
yuvaltassa authored and copybara-github committed Jan 17, 2025
1 parent b2484ee commit 07b0688
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions dm_control/mjcf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2649,6 +2649,30 @@
<attribute name="body2" type="reference" reference_namespace="body"/>
</attributes>
</element>
<element name="e_potential" repeated="true" namespace="sensor">
<attributes>
<attribute name="name" type="identifier"/>
<attribute name="noise" type="float"/>
<attribute name="user" type="array" array_type="float"/>
<attribute name="cutoff" type="float"/>
</attributes>
</element>
<element name="e_kinetic" repeated="true" namespace="sensor">
<attributes>
<attribute name="name" type="identifier"/>
<attribute name="noise" type="float"/>
<attribute name="user" type="array" array_type="float"/>
<attribute name="cutoff" type="float"/>
</attributes>
</element>
<element name="clock" repeated="true" namespace="sensor">
<attributes>
<attribute name="name" type="identifier"/>
<attribute name="noise" type="float"/>
<attribute name="user" type="array" array_type="float"/>
<attribute name="cutoff" type="float"/>
</attributes>
</element>
</children>
</element>
<element name="keyframe">
Expand Down

0 comments on commit 07b0688

Please sign in to comment.