Skip to content

Commit

Permalink
Add missing timestamp for grid_map message (#46)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 authored Jan 17, 2024
1 parent aaffb5c commit d33b962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test_tif_loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ class MapPublisher : public rclcpp::Node {
private:
void timer_callback() {
auto msg = grid_map::GridMapRosConverter::toMessage(map_->getGridMap());
msg->header.stamp = now();
original_map_pub_->publish(std::move(msg));
}
rclcpp::TimerBase::SharedPtr timer_;
Expand Down

0 comments on commit d33b962

Please sign in to comment.