-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Can't open gazebo11 when run tb3_simulation_launch.py #2757
Comments
Please provide full logs. Does Gazebo come up eventually? If not, you may not have properly sourcing turtlebot gazebo files and if you’re not loading gazebo, clearly there would be no odometry frame as there’s no simulation data being produced. See the getting started guide in our documentation. |
Here is the full logs
After that it keep repeating print |
Please refer to TB3 docs if using their resources, I can't give specific advice on that platform, but I have the following in the bashrc to get the models. It does take a couple of minutes to come up sometime, but eventually spawns if everything is properly installed / working. You may want to try running gazebo with --verbose flags to see what it might be having issue with.
If gazebo isn't coming up, that's the issue, its not in Nav2. The gazebo model isn't coming up, therefore there is no odometry or sensor data being produced, therefore Nav2 is rightfully complaining that it's not getting the info required to operate. |
Please ask on ROS Answers or review documentation, we cannot reproduce this issue and it is well documented how to work with gazebo / ROS 2. This issue isn't related to Nav2. |
@Nathan24zz Did you manage it? I've the same issue. |
RUN
BEFORE
will init gazebo successfully, just FYI |
Just sharing my experience, but waiting for around 8-10 minutes after following the instructions (https://navigation.ros.org/getting_started/index.html#running-the-example) works for me. |
Waiting for 5-10 minutes loads up the models and then the Gazebo starts up as intended. |
This solve my problem on ros2 humble.
will always getting the ' Invalid frame ID "odom" ' error:
FYI. |
OS: Ubuntu 20.04
distro: foxy
I already tried in WSL2 and Ubuntu 20.04 physically but I still got the error (the gazebo can't be opened when I run ros2 launch nav2_bringup tb3_simulation_launch.py).
The error that shows in terminal like [local_costmap.local_costmap]: Timed out waiting for transform from base_link to odom to become available, tf error: Invalid frame ID "odom" passed to canTransform argument target_frame - frame does not exist.
Can someone give me a solution?
The text was updated successfully, but these errors were encountered: