-
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
Online example is not working on ros2 jazzy #4722
Comments
So, it looks like our Getting Started (and build/install) guide needs to be updated from the migration to New-Gazebo from Gazebo-Classic. Jazzy / Rolling don't have support for Gazebo Classic anymore since it doesn't ship with those distributions on 24.04. We are no longer dependent on the TB3 packages and instead use this repo instead for the URDFs and sim files https:/ros-navigation/nav2_minimal_turtlebot_simulation. That step is not required to Everything else should be the same. If you're open to contributing, I'd love it if you could propose the changes to that instruction set that aligns with the current state of the project using the modern updated gazebo! If nothing else, verifying that the changes i described above are the only changes required would be good and then I can make the updates myself when I have a spare few hours in the airport on the way to ROSCon :-) |
I'm a novice in Ros2 and Nav2, so I don't have enough confidence and experience yet to make this. But i did some tries and these are the results. I've installed Ros2 Jazzy following the guide and it comes already with with Gazebo installed too. I had a look to the version and it was Harmonic. I don't know if it is old (classic) or new one and having a search for something new it seems that a new version of Gazebo should be Ignition but I cannot find it (all brings to Gazebo: https://ignitionrobotics.org/). I've found finally this site: https:/gazebosim/ros_gz/tree/jazzy and followed the instructions for install it. After that, Gazebo is still running (using the gz sim commands, as before: just the nav2 example did not run) , but not with ing gazebo. I've got the nav2_tb repo you suggested and it compiles. I don't know where to place it correctly: if part of all the other nav2's (inside the suggested nav2_ws/src/navigation2) or elsewhere like the nav2_ws/src. In both cases it compiles well and not doing anything else (not even the exports as you suggested) just sourcing nav2_ws (for the nav2_ws/src/navigation2 or both separate for nav2_ws/src) it still is not running and rviz dies as before. I trust in your spare airport hours. :) |
Jazzy only supports / ships with the new Gazebo. Ignition is an older naming schema which is deprecated due to trademark issues. its all just called 'Gazebo' now - not confusing at all, right? 😉 So you're definitely using new-Gazebo (or as I jokingly call it sometimes: Gazebo2). You shouldn't need to download + build the code unless you're on Rolling. You should be able to Let me know :-) |
It sounds good, but it still wont work. |
That's usually related to gazebo as the publisher of the odometry data and frames - if you wait for the gazebo window to appear, do you still see these errors afterwards? It can take a moment for gazebo to fully load, especially on the first run while it downloads online mesh assets used in the SDF file
I'm seeing you likely sending a control+c or similar signal to end the program around that time while waiting for things to finish hooking up |
Bug report
Cannot bring to work the "Getting Started" example on Ros2 Jazzy with Ubuntu 24.04, in both binary and source version (even if compilation completes successfully). Logs reports tf frames missing (odom), maps errors and rviz crashs after few seconds, and command terminates execution.
As stated I tried first not to install "sudo apt install ros-jazzy-turtlebot3-gazebo", after trying it apt cannot find it and last, even install all of tb3 and also tb4, will not solve the question. Cannot find this path: export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/jazzy/share/turtlebot3_gazebo/models
What should I do to make your example working?
Jazzy, binary
Nav2 binaries got as written on your site (using jazzy), same for source
Fast-RTPS
Steps to reproduce issue
Followed your simple and clear guide and when launched it didn't work
Expected behavior
The same as web page
Actual behavior
Starts, rviz closes after few seconds followed by console execution stop. Gazebo remains running
Additional information
Logs reports tf frames missing and rqt and tftree doesn't shows all expected connections
component_container_isolated_88025_1729002265308.log
The text was updated successfully, but these errors were encountered: