Skip to content

Commit 36b9333

Browse files
committed
feat(tier4_system_component): enable to select mrm_handler_param_path (autowarefoundation#949)
* feat: enable to select mrm_handler_param_path Signed-off-by: TetsuKawa <[email protected]> * modify: use is_redundant arg Signed-off-by: TetsuKawa <[email protected]> --------- Signed-off-by: TetsuKawa <[email protected]>
1 parent c1161fa commit 36b9333

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

autoware_launch/launch/components/tier4_system_component.launch.xml

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
<launch>
33
<arg name="diagnostic_graph_aggregator_param_path" default="$(find-pkg-share autoware_diagnostic_graph_aggregator)/config/default.param.yaml"/>
44
<arg name="diagnostic_graph_aggregator_graph_path" default="$(find-pkg-share autoware_launch)/config/system/tier4_diagnostics/autoware-main.yaml"/>
5+
<arg name="is_redundant" default="false"/>
6+
7+
<let name="mrm_handler_param_path" value="$(find-pkg-share autoware_launch)/config/system/mrm_handler/mrm_handler.redundancy.main.param.yaml" if="$(var is_redundant)"/>
8+
<let name="mrm_handler_param_path" value="$(find-pkg-share autoware_launch)/config/system/mrm_handler/mrm_handler.param.yaml" unless="$(var is_redundant)"/>
59

610
<include file="$(find-pkg-share tier4_system_launch)/launch/system.launch.xml">
711
<arg name="run_mode" value="$(var system_run_mode)"/>
@@ -24,7 +28,7 @@
2428
<arg name="system_monitor_process_monitor_param_path" value="$(find-pkg-share autoware_launch)/config/system/system_monitor/process_monitor.param.yaml"/>
2529
<arg name="system_monitor_voltage_monitor_param_path" value="$(find-pkg-share autoware_launch)/config/system/system_monitor/voltage_monitor.param.yaml"/>
2630

27-
<arg name="mrm_handler_param_path" value="$(find-pkg-share autoware_launch)/config/system/mrm_handler/mrm_handler.param.yaml"/>
31+
<arg name="mrm_handler_param_path" value="$(var mrm_handler_param_path)"/>
2832
<arg name="diagnostic_graph_aggregator_param_path" value="$(var diagnostic_graph_aggregator_param_path)"/>
2933
<arg name="diagnostic_graph_aggregator_graph_path" value="$(var diagnostic_graph_aggregator_graph_path)"/>
3034
<arg name="diagnostic_graph_aggregator_planning_simulator_graph_path" value="$(find-pkg-share autoware_launch)/config/system/diagnostic_graph_aggregator/autoware.yaml"/>

0 commit comments

Comments
 (0)