Skip to content

Commit 8a5b0e9

Browse files
committed
feat: add param path
Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
1 parent 662eca1 commit 8a5b0e9

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

launch/tier4_control_launch/launch/control.launch.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,15 @@
4747

4848
<!-- temporary: control_command_gate migration -->
4949
<arg name="use_control_command_gate" default="false"/>
50+
<arg name="control_command_gate_param_path" if="$(var use_control_command_gate)"/>
5051

5152
<group>
5253
<push-ros-namespace namespace="control"/>
5354

5455
<group if="$(var use_control_command_gate)">
55-
<include file="$(find-pkg-share autoware_control_command_gate)/launch/control_command_gate.launch.xml"/>
56+
<include file="$(find-pkg-share autoware_control_command_gate)/launch/control_command_gate.launch.xml">
57+
<arg name="config" value="$(var control_command_gate_param_path)"/>
58+
</include>
5659
</group>
5760
<group if="$(var use_control_command_gate)">
5861
<include file="$(find-pkg-share autoware_stop_mode_operator)/launch/stop_mode_operator.launch.xml"/>

launch/tier4_system_launch/launch/system.launch.xml

+8-2
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,21 @@
3636

3737
<!-- temporary: control_command_gate migration -->
3838
<arg name="use_control_command_gate" default="false"/>
39+
<arg name="command_mode_switcher_param_path" if="$(var use_control_command_gate)"/>
40+
<arg name="command_mode_decider_param_path" if="$(var use_control_command_gate)"/>
3941

4042
<group>
4143
<push-ros-namespace namespace="/system"/>
4244

4345
<group if="$(var use_control_command_gate)">
44-
<include file="$(find-pkg-share autoware_command_mode_switcher)/launch/switcher.launch.xml"/>
46+
<include file="$(find-pkg-share autoware_command_mode_switcher)/launch/switcher.launch.xml">
47+
<arg name="config" value="$(var command_mode_switcher_param_path)"/>
48+
</include>
4549
</group>
4650
<group if="$(var use_control_command_gate)">
47-
<include file="$(find-pkg-share autoware_command_mode_decider)/launch/decider.launch.xml"/>
51+
<include file="$(find-pkg-share autoware_command_mode_decider)/launch/decider.launch.xml">
52+
<arg name="config" value="$(var command_mode_decider_param_path)"/>
53+
</include>
4854
</group>
4955

5056
<!-- System Monitor -->

0 commit comments

Comments
 (0)