Heads Up Jazzy TurtleBots: If No Costmaps #550
Replies: 4 comments 2 replies
-
@slowrunner When you run that launch file the use_sim_time parameter defaults to false ( ) and gets passed to the nav2 node. Even if it did default to true then this should be simply modified by passing the parameter in when you launch, like so:
If the use_sim_time parameter is false and this isn't getting propagated through to the nav2 node properly then that is an issue that should be flagged as a bug and needs to be addressed in the launch file so that that parameter works properly. |
Beta Was this translation helpful? Give feedback.
-
We are having the same issues with a class set of robots - nav2 works around 30% sounds about right.
Checking on one of the robots now and get the same results for use sim time for nodes - set to true if not specified, set to true even when using the command suggested passing false for the prameter.
Will try removing from launch file tomorrow if I have time.
|
Beta Was this translation helpful? Give feedback.
-
@slowrunner @mdxtinkernick I will look into replicating this and seeing why it is not being passed through properly. Definitely continue to use that fix though until I am able to get back to you about it. |
Beta Was this translation helpful? Give feedback.
-
all working here now - thanks for digging this out @slowrunner would never have thought of looking for that - was at the point where we going to start do network traffic analysis as I had reached the point where I thought all the timing issues were being caused by network congestion - just had the most productive class with the TurtleBots since we bought them nearly 3 years ago |
Beta Was this translation helpful? Give feedback.
-
Credit @aharshac #501 (comment) for the tip
If you are running Jazzy on your Raspberry Pi (and Iron I.0.0.FastDDS on your Create3) and not seeing global and local costmaps when you run navigation, try:
cp /opt/ros/jazzy/share/turtlebot4_navigation/config/localization.yaml params/
use_sim_time: true
use_sim_time: true
You should see the purple and blue costmaps after setting the initial pose:
Beta Was this translation helpful? Give feedback.
All reactions