-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
local_costmap does not respect the use_sim_time parameter #4362
Comments
Hey, it could probably that, in the launch file, the |
@padhupradheep No, there is not a single instance where |
Can you report the value of |
They all show |
Weird, the next step would be to try to reproduce on our side.
Can you send the exact command you ran? (along with any other setup-specific stuff we should know about) |
If I pass
|
@david-wb can you reproduce using the nav2_bringup as the example, not your custom files? That helps us isolate potential problems to bugs in the stack vs bugs potentially present in your custom use. For example, when you launch with use sim time as true/false, do you still see that issue with our default bringup? https://github.com/ros-navigation/navigation2/blob/main/nav2_bringup/launch/tb3_simulation_launch.py |
Sure, here is the simplest way I can reproduce the issue. Run
This will use the default nav2 params which have But the actual value is
It seems the |
I just tested
and
So this appears to be working in |
The problem is that the launch file will always override whatever is in the params file for the use_sim_time param. It is not an issue for me now that I am aware of it. |
Yes, this is the case. Does that answer you question? |
Yup, all good thanks. |
Bug report
The
/local_costmap/local_costmap
node does not respect theuse_sim_time
parameter.Required Info:
Steps to reproduce issue
use_sim_time: True
forlocal_costmap
Expected behavior
The ros2 param dump should show
use_sim_time: true
and the local costmap should update in rviz as the robot moves.Actual behavior
The ros2 param dump shows
use_sim_time: false
, and the local costmap fails to update in rviz as the robot moves.The text was updated successfully, but these errors were encountered: