From cc3b7b99682b8de01579a1f8ec8cff44eed4ce1e Mon Sep 17 00:00:00 2001 From: Yuki TAKAGI <141538661+yuki-takagi-66@users.noreply.github.com> Date: Fri, 29 Nov 2024 13:07:22 +0900 Subject: [PATCH] refactor(system_diagnostic_monitor, dummy_diag_publisher, diagnostic_graph_aggregator): combine diag list setting directories (#1253) Signed-off-by: yuki-takagi-66 --- .../system/diagnostic_graph_aggregator/autoware-awsim.yaml | 5 ----- .../system/diagnostic_graph_aggregator/autoware-main.yaml | 2 -- .../config/system/diagnostics/autoware-awsim.yaml | 5 +++++ .../autoware-main.yaml | 0 .../{system_diagnostic_monitor => diagnostics}/control.yaml | 0 .../dummy_diag_publisher.param.yaml | 0 .../{system_diagnostic_monitor => diagnostics}/hardware.yaml | 0 .../localization.yaml | 0 .../{system_diagnostic_monitor => diagnostics}/map.yaml | 0 .../perception.yaml | 0 .../{system_diagnostic_monitor => diagnostics}/planning.yaml | 0 .../{system_diagnostic_monitor => diagnostics}/system.yaml | 0 .../{system_diagnostic_monitor => diagnostics}/vehicle.yaml | 0 autoware_launch/launch/autoware.launch.xml | 2 +- .../launch/components/tier4_system_component.launch.xml | 4 ++-- autoware_launch/launch/e2e_simulator.launch.xml | 2 +- autoware_launch/launch/logging_simulator.launch.xml | 2 +- autoware_launch/launch/planning_simulator.launch.xml | 2 +- 18 files changed, 11 insertions(+), 13 deletions(-) delete mode 100644 autoware_launch/config/system/diagnostic_graph_aggregator/autoware-awsim.yaml delete mode 100644 autoware_launch/config/system/diagnostic_graph_aggregator/autoware-main.yaml create mode 100644 autoware_launch/config/system/diagnostics/autoware-awsim.yaml rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/autoware-main.yaml (100%) rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/control.yaml (100%) rename autoware_launch/config/system/{dummy_diag_publisher => diagnostics}/dummy_diag_publisher.param.yaml (100%) rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/hardware.yaml (100%) rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/localization.yaml (100%) rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/map.yaml (100%) rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/perception.yaml (100%) rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/planning.yaml (100%) rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/system.yaml (100%) rename autoware_launch/config/system/{system_diagnostic_monitor => diagnostics}/vehicle.yaml (100%) diff --git a/autoware_launch/config/system/diagnostic_graph_aggregator/autoware-awsim.yaml b/autoware_launch/config/system/diagnostic_graph_aggregator/autoware-awsim.yaml deleted file mode 100644 index 937cfdeb65..0000000000 --- a/autoware_launch/config/system/diagnostic_graph_aggregator/autoware-awsim.yaml +++ /dev/null @@ -1,5 +0,0 @@ -files: - - { path: $(find-pkg-share autoware_launch)/config/system/system_diagnostic_monitor/autoware-main.yaml } - -edits: - - { type: remove, path: /autoware/system/duplicated_node_checker } diff --git a/autoware_launch/config/system/diagnostic_graph_aggregator/autoware-main.yaml b/autoware_launch/config/system/diagnostic_graph_aggregator/autoware-main.yaml deleted file mode 100644 index c96dd5ed46..0000000000 --- a/autoware_launch/config/system/diagnostic_graph_aggregator/autoware-main.yaml +++ /dev/null @@ -1,2 +0,0 @@ -files: - - { path: $(find-pkg-share autoware_launch)/config/system/system_diagnostic_monitor/autoware-main.yaml } diff --git a/autoware_launch/config/system/diagnostics/autoware-awsim.yaml b/autoware_launch/config/system/diagnostics/autoware-awsim.yaml new file mode 100644 index 0000000000..4abae34a31 --- /dev/null +++ b/autoware_launch/config/system/diagnostics/autoware-awsim.yaml @@ -0,0 +1,5 @@ +files: + - { path: $(dirname)/autoware-main.yaml } + +edits: + - { type: remove, path: /autoware/system/duplicated_node_checker } diff --git a/autoware_launch/config/system/system_diagnostic_monitor/autoware-main.yaml b/autoware_launch/config/system/diagnostics/autoware-main.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/autoware-main.yaml rename to autoware_launch/config/system/diagnostics/autoware-main.yaml diff --git a/autoware_launch/config/system/system_diagnostic_monitor/control.yaml b/autoware_launch/config/system/diagnostics/control.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/control.yaml rename to autoware_launch/config/system/diagnostics/control.yaml diff --git a/autoware_launch/config/system/dummy_diag_publisher/dummy_diag_publisher.param.yaml b/autoware_launch/config/system/diagnostics/dummy_diag_publisher.param.yaml similarity index 100% rename from autoware_launch/config/system/dummy_diag_publisher/dummy_diag_publisher.param.yaml rename to autoware_launch/config/system/diagnostics/dummy_diag_publisher.param.yaml diff --git a/autoware_launch/config/system/system_diagnostic_monitor/hardware.yaml b/autoware_launch/config/system/diagnostics/hardware.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/hardware.yaml rename to autoware_launch/config/system/diagnostics/hardware.yaml diff --git a/autoware_launch/config/system/system_diagnostic_monitor/localization.yaml b/autoware_launch/config/system/diagnostics/localization.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/localization.yaml rename to autoware_launch/config/system/diagnostics/localization.yaml diff --git a/autoware_launch/config/system/system_diagnostic_monitor/map.yaml b/autoware_launch/config/system/diagnostics/map.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/map.yaml rename to autoware_launch/config/system/diagnostics/map.yaml diff --git a/autoware_launch/config/system/system_diagnostic_monitor/perception.yaml b/autoware_launch/config/system/diagnostics/perception.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/perception.yaml rename to autoware_launch/config/system/diagnostics/perception.yaml diff --git a/autoware_launch/config/system/system_diagnostic_monitor/planning.yaml b/autoware_launch/config/system/diagnostics/planning.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/planning.yaml rename to autoware_launch/config/system/diagnostics/planning.yaml diff --git a/autoware_launch/config/system/system_diagnostic_monitor/system.yaml b/autoware_launch/config/system/diagnostics/system.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/system.yaml rename to autoware_launch/config/system/diagnostics/system.yaml diff --git a/autoware_launch/config/system/system_diagnostic_monitor/vehicle.yaml b/autoware_launch/config/system/diagnostics/vehicle.yaml similarity index 100% rename from autoware_launch/config/system/system_diagnostic_monitor/vehicle.yaml rename to autoware_launch/config/system/diagnostics/vehicle.yaml diff --git a/autoware_launch/launch/autoware.launch.xml b/autoware_launch/launch/autoware.launch.xml index 29378cc0c8..4bf18af889 100644 --- a/autoware_launch/launch/autoware.launch.xml +++ b/autoware_launch/launch/autoware.launch.xml @@ -37,7 +37,7 @@ - + diff --git a/autoware_launch/launch/components/tier4_system_component.launch.xml b/autoware_launch/launch/components/tier4_system_component.launch.xml index fa5056b9d9..e729fef464 100644 --- a/autoware_launch/launch/components/tier4_system_component.launch.xml +++ b/autoware_launch/launch/components/tier4_system_component.launch.xml @@ -1,7 +1,7 @@ - + @@ -14,7 +14,7 @@ - + diff --git a/autoware_launch/launch/e2e_simulator.launch.xml b/autoware_launch/launch/e2e_simulator.launch.xml index 3237754c48..c4fd15b41c 100644 --- a/autoware_launch/launch/e2e_simulator.launch.xml +++ b/autoware_launch/launch/e2e_simulator.launch.xml @@ -71,7 +71,7 @@ - + diff --git a/autoware_launch/launch/logging_simulator.launch.xml b/autoware_launch/launch/logging_simulator.launch.xml index f1a9ad5fab..123bd01ed3 100644 --- a/autoware_launch/launch/logging_simulator.launch.xml +++ b/autoware_launch/launch/logging_simulator.launch.xml @@ -65,7 +65,7 @@ - + diff --git a/autoware_launch/launch/planning_simulator.launch.xml b/autoware_launch/launch/planning_simulator.launch.xml index be175553b7..3c56e11412 100644 --- a/autoware_launch/launch/planning_simulator.launch.xml +++ b/autoware_launch/launch/planning_simulator.launch.xml @@ -70,7 +70,7 @@ - +