Set CPM sender interval to 100ms
This commit is contained in:
parent
c3766f5f83
commit
3dad90566f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue