Skip to content

Commit

Permalink
Move trace sensors to the specific tasks.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 607840037
Change-Id: I17d3599b0b6d33b31f2017a0dd0aeedb4aae935d
  • Loading branch information
erez-tom authored and copybara-github committed Feb 17, 2024
1 parent 35f774c commit dfbf002
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mjpc/tasks/allegro/task.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<!-- Measurements we want to use -->
<framepos name="cube_goal_position" objtype="site" objname="grasp_site"/>
<framequat name="cube_goal_orientation" objtype="body" objname="goal"/>
<framepos name="trace0" objtype="body" objname="cube"/>
</sensor>

<include file="../common_assets/reorientation_cube.xml"/>
Expand Down
1 change: 0 additions & 1 deletion mjpc/tasks/common_assets/reorientation_cube.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
</worldbody>

<sensor>
<framepos name="trace0" objtype="body" objname="cube"/>
<framepos name="cube_position" objtype="body" objname="cube"/>
<framequat name="cube_orientation" objtype="body" objname="cube"/>
<framelinvel name="cube_linear_velocity" objtype="body" objname="cube"/>
Expand Down
1 change: 1 addition & 0 deletions mjpc/tasks/shadow_reorient/task.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<user name="Joint Vel." dim="26" user="0 1.0e-4 0.0 1.0e-1" />
<framepos name="palm_position" objtype="site" objname="grasp_site"/>
<framequat name="cube_goal_orientation" objtype="body" objname="goal"/>
<framepos name="trace0" objtype="body" objname="cube"/>
</sensor>

<include file="../common_assets/reorientation_cube.xml"/>
Expand Down

0 comments on commit dfbf002

Please sign in to comment.