Skip to content

Commit

Permalink
fix(localization_error_monitor): fixed header stamp (autowarefoundati…
Browse files Browse the repository at this point in the history
…on#7174)

Fixed header stamp at localization_error_monitor

Signed-off-by: Shintaro Sakoda <[email protected]>
  • Loading branch information
SakodaShintaro authored and a-maumau committed Jun 7, 2024
1 parent faf52fd commit b7f1eed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ void LocalizationErrorMonitor::onOdom(nav_msgs::msg::Odometry::ConstSharedPtr in
diag_merged_status.hardware_id = this->get_name();

diagnostic_msgs::msg::DiagnosticArray diag_msg;
diag_msg.header.stamp = this->now();
diag_msg.header.stamp = input_msg->header.stamp;
diag_msg.status.push_back(diag_merged_status);
diag_pub_->publish(diag_msg);
}
Expand Down

0 comments on commit b7f1eed

Please sign in to comment.