-
Notifications
You must be signed in to change notification settings - Fork 1k
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
AMCL failing when starting Navigation Simulation #884
Comments
So I've made some progress. In the robot param file (
to
then rViz will launch and initialize properly. However I don't seem to be getting a local costmap, even though rViz is confugured to display one. I'm not seeing any clear errors in the logs. |
After additional digging, it seems like this is related to a known issue with the FastDDS middleware. There's a temporary fix here or you can install cyclonedds. |
Hi, Thanks for your solution, I'm in the same issue, any explanation for that change? |
I don't think I needed to do anything specific; I just switched over to the cyclonedds. |
I got |
switch to cyclonedds with
when you do
|
Just a heads-up : Even with CycloneDDS, this failed until I fixed the AMCL configuration as above ^^^ According to the official Nav2 documentation, there is a note saying:
... which is why that everyone going to Humble has this broken. So, we should be using |
sea-bass, Your results seem to be consistent with my experience. Fixing the AMCL configuration allowed the demo to run, but I didn't get a cost-map without the changing the DDS. This should be a relatively simple PR to resolve. |
ISSUE TEMPLATE ver. 0.4.0
Which TurtleBot3 platform do you use?
Which ROS is working with TurtleBot3?
Which SBC(Single Board Computer) is working on TurtleBot3?
Which OS you installed on SBC?
Which OS you installed on Remote PC?
Specify the software and firmware version(Can be found from Bringup messages)
Specify the commands or instructions to reproduce the issue.
Running Gazebo simulation tutorials (https://emanual.robotis.com/docs/en/platform/turtlebot3/simulation/). Following Foxy instructions, adapted for Humble. The Gazebo process loads fine,
ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
but starting the Navigation node gives constant errors.
ros2 launch turtlebot3_navigation2 navigation2.launch.py use_sim_time:=True map:=$HOME/map.yaml
The above failure in configuring AMCL seems to be the key issue. Here are a few other observations:
[component_container_isolated-1] [INFO] [1656947652.365148100] [global_costmap.global_costmap]: Timed out waiting for transform from base_link to map to become available, tf error: Invalid frame ID "map" passed to canTransform argument target_frame - frame does not exist
map
node is missingMaybe this has something to do with the Navigation changes between Foxy and Humble (https://navigation.ros.org/migration/Galactic.html)?
The text was updated successfully, but these errors were encountered: