From 9bcdb33b6f60901dba0cee76bd540c62763dabac Mon Sep 17 00:00:00 2001 From: Yu Asabe Date: Thu, 3 Nov 2022 16:43:43 +0900 Subject: [PATCH] fix: publisher name --- src/v2x_node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2x_node.cpp b/src/v2x_node.cpp index 453555c..a951625 100644 --- a/src/v2x_node.cpp +++ b/src/v2x_node.cpp @@ -99,7 +99,7 @@ namespace v2x cpm_sender_object_msg.objects.push_back(object); - publisher_v2x_cpm_sender_->publish(cpm_sender_object_msg); + // publisher_v2x_cpm_sender_->publish(cpm_sender_object_msg); } @@ -149,7 +149,7 @@ namespace v2x ); latency_log_file << "T_publish," << cpm_num << "," << ms.count() << std::endl; - publisher_->publish(output_dynamic_object_msg); + cpm_objects_pub_->publish(output_dynamic_object_msg); } void V2XNode::objectsCallback(const autoware_auto_perception_msgs::msg::PredictedObjects::ConstSharedPtr msg) {