From 3dad90566f7f916c2c1842648ac52312620823b3 Mon Sep 17 00:00:00 2001 From: Yu Asabe Date: Sun, 5 Dec 2021 14:16:56 +0900 Subject: [PATCH] Set CPM sender interval to 100ms --- src/cpm_application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cpm_application.cpp b/src/cpm_application.cpp index 0e52681..5b65e12 100644 --- a/src/cpm_application.cpp +++ b/src/cpm_application.cpp @@ -44,7 +44,7 @@ namespace v2x sending_(false) { RCLCPP_INFO(node_->get_logger(), "CpmApplication started..."); - set_interval(milliseconds(1000)); + set_interval(milliseconds(100)); } void CpmApplication::set_interval(Clock::duration interval) @@ -166,6 +166,7 @@ namespace v2x { generationDeltaTime_ = *gdt; gdt_timestamp_ = *gdt_timestamp; + RCLCPP_INFO(node_->get_logger(), "[updateGDT] %d %ld", generationDeltaTime_, gdt_timestamp_); } void CpmApplication::updateHeading(double *yaw)