From 4be7fca84db227a16e34910bcaf07b470bea04e5 Mon Sep 17 00:00:00 2001 From: Shumpei Wakabayashi <42209144+shmpwk@users.noreply.github.com> Date: Thu, 15 Dec 2022 17:36:24 +0900 Subject: [PATCH] fix: rename use_external_emergency_stop to check_external_emergency_heartbeat (#592) * fix: rename use_external_emergency_stop to check_external_emergency_heartbeat Signed-off-by: Shumpei Wakabayashi * ci(pre-commit): autofix Signed-off-by: Shumpei Wakabayashi Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- autoware_launch/launch/planning_simulator.launch.xml | 2 +- control_launch/launch/control.launch.py | 6 ++++-- control_launch/launch/control.launch.xml | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/autoware_launch/launch/planning_simulator.launch.xml b/autoware_launch/launch/planning_simulator.launch.xml index e6bbf391a0..f3a6f78063 100644 --- a/autoware_launch/launch/planning_simulator.launch.xml +++ b/autoware_launch/launch/planning_simulator.launch.xml @@ -72,7 +72,7 @@ - + diff --git a/control_launch/launch/control.launch.py b/control_launch/launch/control.launch.py index 55f159ddf3..e2c69f208d 100644 --- a/control_launch/launch/control.launch.py +++ b/control_launch/launch/control.launch.py @@ -168,7 +168,9 @@ def launch_setup(context, *args, **kwargs): vehicle_cmd_gate_param, { "use_emergency_handling": LaunchConfiguration("use_emergency_handling"), - "use_external_emergency_stop": LaunchConfiguration("use_external_emergency_stop"), + "check_external_emergency_heartbeat": LaunchConfiguration( + "check_external_emergency_heartbeat" + ), "use_start_request": LaunchConfiguration("use_start_request"), }, ], @@ -325,7 +327,7 @@ def add_launch_arg(name: str, default_value=None, description=None): # vehicle cmd gate add_launch_arg("use_emergency_handling", "false", "use emergency handling") - add_launch_arg("use_external_emergency_stop", "true", "use external emergency stop") + add_launch_arg("check_external_emergency_heartbeat", "true", "use external emergency stop") add_launch_arg("use_start_request", "false", "use start request service") # external cmd selector diff --git a/control_launch/launch/control.launch.xml b/control_launch/launch/control.launch.xml index ee4cd99d6e..f5d6696cc4 100644 --- a/control_launch/launch/control.launch.xml +++ b/control_launch/launch/control.launch.xml @@ -7,7 +7,7 @@ - + @@ -17,7 +17,7 @@ - +