-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Costmaps header stamps are set to 0 #2897
Comments
I don't think it is intentional to be |
Done #2899 |
Hi there, I have the same problem in ROS2 Foxy. Saw what you did to fix it (from grid_->header.stamp = rclcpp::Time(); to grid_->header.stamp = clock_->now();), but I can't seem to find the file (costmap_2d_publisher.cpp) where the header stamp is defined. I don't know much about this stuff, but is this something that I can't do locally and has to be fixed directly in the foxy-devel branch of the nav2 package? If so, how could I push this change? |
Foxy is EOL and has not receive updates for some time |
Oh, so should I install the package from source and use the main branch? |
Bug report
/local_costmap/costmap
or/global_costmap/costmap
topics header stamps are set to 0. Is this somehow intentional?Steps to reproduce issue
Launch the nav2 stack as usual then see
/local_costmap/costmap
or/global_costmap/costmap
topics header and note that they are set to 0.Expected behavior
Header stamps consistent with system time
Actual behavior
Header stamps set to 0
Additional information
I see that the header stamp is set here to
which AFAIK is the reason it is set to 0.
The text was updated successfully, but these errors were encountered: