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
Nav2 Getting Started with TurtleBot3 and tb3_simulation_launch.py on Ubuntu 20.04 and ROS Foxy #2157
Comments
Please ask on ROS Answers please - the issue tracker are for bugs / feature requests not setup advise 😄 |
@SteveMacenski I'm not really sure what to say. Did you read the issue? My problem is with this Getting Started Page and I have to assume that this is something from this project here? All I want to archive is a fest bug-free setup and help others to archive the same, so I wrote an Issue to let you know that there is something missing in your instructions on this page. Never the less, the second problem, that I couldn't solve is almost certainly a bug. I hope this message isn't rude or anything, this is not my intention. The navigation stack is a great project and I think it is awesome that everyone can work with it. |
+1 for fixing the Getting Stared Page (same issues/frustration here) |
I'm not in control of Tb3's releases, you'd have to poke Robotis / go on their repos to have them fix it. These instructions assume a release exists and cloning / building I don't feel is a big enough issue to warrant an update during transitory periods when this isn't available - it should be immediately clear that it didn't install on the apt command failure. |
Fair enough. |
Agreed! That's the point of the page. Long term, I don't see us continuing to support Tb3 for this and other reasons so that might be a nonissue in a year.
We could certainly talk about what that would look like! I'm always open to let people play in the sandbox if they bring their own tools. This is mostly just a statement that "I'm" not going to do anything about it. I'm more than happy to direct / enable others to though. |
@SteveMacenski I think you should consider removing that from your Getting Started page, since it is currently broken. I ran into the same issue as @Darkproduct. I appreciate that this is not the turtlebot3 project, however your introduction of this nav2 project on the YouTube videos , have a common message:
Meanwhile the Getting Started example is broken! And when someone reaches out for help, a student I might add, your initial reaction is to tell them look somewhere else for help. |
I have came across this problem while trying to 'run nav2_simple_commander nav_to_pose_example_launch.py' the nav2_simple_commander/warehouse.world contains a turtlebot3_waffle model inside. I do have turtlebot3_gazebo/models in my GAZEBO_MODEL_PATH, as well as the aws_robomaker_small_warehouse_world/models and I can perfectly run the simulations as well as the nav2_simple_commander programs, when I manually launch world and spawn robot This is more like a distribution problem, I am using ubuntu22 with ros humble, so the /opt/ros/humble/share/nav2_simple_commander/warehouse.world file is the cause of the problem, and since all the demo launch files use this warehouse.world this is a slight bug, imho. maybe modifying the launch files to spawn the robot using turtlebot_gazebo, and adding these to the requirements in package.xml could fix it. best regards, |
I faced same issue. The problem was initial pose was not set and ROS is showing up the error. |
I'm writing this, because this Getting Started Page has several issues and this is my record of solving them, hopefully. Maybe this will help other in the future.
First Problem:
I followed all steps and ran
ros2 launch nav2_bringup tb3_simulation_launch.py
for the first time and after a long wait I see an empty gazebo like #1557 and a looping terminal message:After a bit of investigation I found out that the
turtlebot3_gazebo
folder in/opt/ros/foxy/share
doesn't exist and this lineexport GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/<ros2-distro>/share/turtlebot3_gazebo/models
from the Getting Started Page does nothing.Unfortunately, I couldn't find a way to get these models without cloning the turtlebot3_simulations repo.
What I tried:
/opt/ros/foxy/share
but there is no model folder that I could use for Gazebo.I don't really know if it was ever possible to install the models through
apt install
so they would show up in/opt/ros/<ros2-distro>/share/turtlebot3_gazebo/models
, but on Ubuntu 20.04 with ROS Foxy this doesn't seem possible.I solved this by cloning turtlebot3_simulations by hand and using the new model path in
export GAZEBO_MODEL_PATH
.Second Problem:
ros2 crashes after setting the
2D Pose Estimate
in rviz. Here is the output log after setting the pose.Solved with ^C and try again. On the second run everything worked.
TLDR
First Fix: Missing Models
Clone turtlebot3_simulations and use
ROS2 Crash
I don't really know what happened there.
The text was updated successfully, but these errors were encountered: