Skip to content

Commit 79a1851

Browse files
authored
Add a sensor for the TCP pose (backport of #197)
1 parent ee0dee5 commit 79a1851

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

urdf/ur.ros2_control.xacro

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,16 @@
137137
<state_interface name="torque.z"/>
138138
</sensor>
139139

140+
<sensor name="${tf_prefix}tcp_pose">
141+
<state_interface name="position.x"/>
142+
<state_interface name="position.y"/>
143+
<state_interface name="position.z"/>
144+
<state_interface name="orientation.x"/>
145+
<state_interface name="orientation.y"/>
146+
<state_interface name="orientation.z"/>
147+
<state_interface name="orientation.w"/>
148+
</sensor>
149+
140150
<!-- NOTE The following are joints used only for testing with fake hardware and will change in the future -->
141151
<gpio name="${tf_prefix}speed_scaling">
142152
<state_interface name="speed_scaling_factor"/>

0 commit comments

Comments
 (0)