From 14a63fb50ab999f0b321cbd42e95df251bb8f0df Mon Sep 17 00:00:00 2001 From: vividf Date: Thu, 16 Jan 2025 14:31:08 +0900 Subject: [PATCH] chore: tier4 debug msgs to autoware internal debug msgs Signed-off-by: vividf --- .../concatenate_data/concatenate_and_time_sync_node.hpp | 4 ++-- .../src/concatenate_data/concatenate_and_time_sync_node.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sensing/autoware_pointcloud_preprocessor/include/autoware/pointcloud_preprocessor/concatenate_data/concatenate_and_time_sync_node.hpp b/sensing/autoware_pointcloud_preprocessor/include/autoware/pointcloud_preprocessor/concatenate_data/concatenate_and_time_sync_node.hpp index c84c19a8728dd..654593e317ad9 100644 --- a/sensing/autoware_pointcloud_preprocessor/include/autoware/pointcloud_preprocessor/concatenate_data/concatenate_and_time_sync_node.hpp +++ b/sensing/autoware_pointcloud_preprocessor/include/autoware/pointcloud_preprocessor/concatenate_data/concatenate_and_time_sync_node.hpp @@ -31,14 +31,14 @@ #include #include +#include +#include #include #include #include #include #include #include -#include -#include #include #include diff --git a/sensing/autoware_pointcloud_preprocessor/src/concatenate_data/concatenate_and_time_sync_node.cpp b/sensing/autoware_pointcloud_preprocessor/src/concatenate_data/concatenate_and_time_sync_node.cpp index a09a15ac164c8..e168781c647ed 100644 --- a/sensing/autoware_pointcloud_preprocessor/src/concatenate_data/concatenate_and_time_sync_node.cpp +++ b/sensing/autoware_pointcloud_preprocessor/src/concatenate_data/concatenate_and_time_sync_node.cpp @@ -330,14 +330,14 @@ void PointCloudConcatenateDataSynchronizerComponent::publish_clouds( if (debug_publisher_) { const double cyclic_time_ms = stop_watch_ptr_->toc("cyclic_time", true); const double processing_time_ms = stop_watch_ptr_->toc("processing_time", true); - debug_publisher_->publish( + debug_publisher_->publish( "debug/cyclic_time_ms", cyclic_time_ms); - debug_publisher_->publish( + debug_publisher_->publish( "debug/processing_time_ms", processing_time_ms); for (const auto & [topic, stamp] : concatenated_cloud_result.topic_to_original_stamp_map) { const auto pipeline_latency_ms = (this->get_clock()->now().seconds() - stamp) * 1000; - debug_publisher_->publish( + debug_publisher_->publish( "debug" + topic + "/pipeline_latency_ms", pipeline_latency_ms); } }