Skip to content

Commit b176c54

Browse files
Conditional arg value
As arg tags don't accept if/unless
1 parent d13563a commit b176c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/examples/setup_examples_ros2.launch.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<arg name="call_services_in_new_thread" value="true"/>
77
<!-- This is only non-default on humble, remove when humble EOL -->
88
<arg name="send_action_goals_in_new_thread" value="true"/>
9-
<arg name="delay_between_messages" value="0.0" unless="$(eval env('ROS_DISTRO') == 'humble')"/>
9+
<arg name="delay_between_messages" value="$(if $(equals $(env 'ROS_DISTRO') 'humble') 0 0.0)"/>
1010
<arg name="services_glob" value="'[*]'" />
1111
</include>
1212

0 commit comments

Comments
 (0)