Skip to content

Commit ea0c6b5

Browse files
author
Felix Exner (fexner)
authored
Add a sensor for the TCP pose (#197)
* Add a sensor for the TCP pose * Use quaternion notation for rotation state interfaces
1 parent 88a47e4 commit ea0c6b5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

urdf/inc/ur_sensors.xacro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,14 @@
99
<state_interface name="torque.y"/>
1010
<state_interface name="torque.z"/>
1111
</sensor>
12+
<sensor name="${tf_prefix}tcp_pose">
13+
<state_interface name="position.x"/>
14+
<state_interface name="position.y"/>
15+
<state_interface name="position.z"/>
16+
<state_interface name="orientation.x"/>
17+
<state_interface name="orientation.y"/>
18+
<state_interface name="orientation.z"/>
19+
<state_interface name="orientation.w"/>
20+
</sensor>
1221
</xacro:macro>
1322
</robot>

0 commit comments

Comments
 (0)