Skip to content

Commit

Permalink
Add a sensor for the TCP pose (#197)
Browse files Browse the repository at this point in the history
* Add a sensor for the TCP pose

* Use quaternion notation for rotation state interfaces
  • Loading branch information
fmauch authored Oct 10, 2024
1 parent 88a47e4 commit ea0c6b5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions urdf/inc/ur_sensors.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,14 @@
<state_interface name="torque.y"/>
<state_interface name="torque.z"/>
</sensor>
<sensor name="${tf_prefix}tcp_pose">
<state_interface name="position.x"/>
<state_interface name="position.y"/>
<state_interface name="position.z"/>
<state_interface name="orientation.x"/>
<state_interface name="orientation.y"/>
<state_interface name="orientation.z"/>
<state_interface name="orientation.w"/>
</sensor>
</xacro:macro>
</robot>

0 comments on commit ea0c6b5

Please sign in to comment.