From ed2e62229dc9939fbb6382462128e4914c56765a Mon Sep 17 00:00:00 2001 From: Yu Asabe Date: Tue, 7 Dec 2021 15:19:21 +0900 Subject: [PATCH] log message change in indicate --- src/cpm_application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpm_application.cpp b/src/cpm_application.cpp index 0dac301..d9dbd92 100644 --- a/src/cpm_application.cpp +++ b/src/cpm_application.cpp @@ -84,7 +84,7 @@ namespace v2x const auto time_now = duration_cast (runtime_.now().time_since_epoch()); uint16_t gdt = time_now.count(); int gdt_diff = (65536 + (gdt - gdt_cpm) % 65536) % 65536; - RCLCPP_INFO(node_->get_logger(), "gdt: %ld %u %d", gdt_cpm, gdt, gdt_diff); + RCLCPP_INFO(node_->get_logger(), "[indicate] gdt: %ld,%u,%d", gdt_cpm, gdt, gdt_diff); CpmManagementContainer_t &management = message->cpm.cpmParameters.managementContainer; double lat = management.referencePosition.latitude / 1.0e7; @@ -173,7 +173,7 @@ namespace v2x { generationDeltaTime_ = *gdt; gdt_timestamp_ = *gdt_timestamp; - RCLCPP_INFO(node_->get_logger(), "[updateGDT] %d %ld", generationDeltaTime_, gdt_timestamp_); + // RCLCPP_INFO(node_->get_logger(), "[updateGDT] %d %lu", generationDeltaTime_, gdt_timestamp_); } void CpmApplication::updateHeading(double *yaw)