From 2cd19f684c8fc3ae7ee88785ffd85efe2098594d Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" <43976882+isamu-takagi@users.noreply.github.com> Date: Fri, 22 Mar 2024 21:00:34 +0900 Subject: [PATCH 1/2] feat(tier4_system_launch): add option to launch mrm handler (#6660) Signed-off-by: Takagi, Isamu --- .../launch/system.launch.xml | 29 +++++++++++++++++-- .../launch/hazard_status_converter.launch.xml | 5 +++- .../hazard_status_converter/src/converter.cpp | 4 +-- 3 files changed, 33 insertions(+), 5 deletions(-) diff --git a/launch/tier4_system_launch/launch/system.launch.xml b/launch/tier4_system_launch/launch/system.launch.xml index e4e6e4eee31cd..06fe448c1d215 100644 --- a/launch/tier4_system_launch/launch/system.launch.xml +++ b/launch/tier4_system_launch/launch/system.launch.xml @@ -22,6 +22,11 @@ + + + + + @@ -62,7 +67,7 @@ - + @@ -76,7 +81,7 @@ - + @@ -99,6 +104,26 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/system/hazard_status_converter/launch/hazard_status_converter.launch.xml b/system/hazard_status_converter/launch/hazard_status_converter.launch.xml index ff50dec3a342f..f3b07bfa94834 100644 --- a/system/hazard_status_converter/launch/hazard_status_converter.launch.xml +++ b/system/hazard_status_converter/launch/hazard_status_converter.launch.xml @@ -1,3 +1,6 @@ - + + + + diff --git a/system/hazard_status_converter/src/converter.cpp b/system/hazard_status_converter/src/converter.cpp index b09f3de891b45..e1da4f463f06d 100644 --- a/system/hazard_status_converter/src/converter.cpp +++ b/system/hazard_status_converter/src/converter.cpp @@ -127,9 +127,9 @@ namespace hazard_status_converter Converter::Converter(const rclcpp::NodeOptions & options) : Node("converter", options) { - pub_hazard_ = create_publisher("/hazard_status", rclcpp::QoS(1)); + pub_hazard_ = create_publisher("~/hazard_status", rclcpp::QoS(1)); sub_graph_ = create_subscription( - "/diagnostics_graph", rclcpp::QoS(3), + "~/diagnostics_graph", rclcpp::QoS(3), std::bind(&Converter::on_graph, this, std::placeholders::_1)); } From 4037478eb52b40f0fd7f448dcb727e1b88f3a282 Mon Sep 17 00:00:00 2001 From: Tomohito ANDO Date: Fri, 29 Mar 2024 09:34:24 +0900 Subject: [PATCH 2/2] chore(tier4_system_launch): add option to select graph path depending on running mode (#6700) chore(tier4_system_launch): add option of using graph path for simulation Signed-off-by: Tomohito Ando --- launch/tier4_system_launch/launch/system.launch.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/launch/tier4_system_launch/launch/system.launch.xml b/launch/tier4_system_launch/launch/system.launch.xml index 06fe448c1d215..b70b4fb24d892 100644 --- a/launch/tier4_system_launch/launch/system.launch.xml +++ b/launch/tier4_system_launch/launch/system.launch.xml @@ -26,6 +26,7 @@ + @@ -114,9 +115,12 @@ + + + - +