Skip to content

Commit

Permalink
Add missing timestamp for grid_map message
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 committed Jan 17, 2024
1 parent 341aaa5 commit 529e197
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 529e197

Please sign in to comment.