Skip to content

Commit

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

Signed-off-by: Shintaro Sakoda <[email protected]>
  • Loading branch information
SakodaShintaro authored May 30, 2024
1 parent 0e97466 commit 365b5a8
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 365b5a8

Please sign in to comment.