Skip to content

Commit 464864a

Browse files
Felix ExnerRobertWilbrandt
authored andcommitted
Workaround: Prefix an _ to the tf_prefix to allow empty prefixes
Currently, the hardware interface does not support empty parameters (see ros-controls/ros2_control#994). Hence, we use a workaround by prefixing something to the tf_prefix that we can later remove inside the hardware_interface.
1 parent 53cfc4e commit 464864a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

urdf/ur.ros2_control.xacro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<param name="reverse_ip">${reverse_ip}</param>
4949
<param name="script_command_port">${script_command_port}</param>
5050
<param name="trajectory_port">${trajectory_port}</param>
51-
<param name="tf_prefix">${tf_prefix}</param>
51+
<param name="tf_prefix">_${tf_prefix}</param>
5252
<param name="non_blocking_read">${non_blocking_read}</param>
5353
<param name="servoj_gain">2000</param>
5454
<param name="servoj_lookahead_time">0.03</param>

0 commit comments

Comments
 (0)