-
Notifications
You must be signed in to change notification settings - Fork 453
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
Add Ignition Gazebo support #179
Comments
Hi @chapulina Thanks for the heads up. @ashekim |
Hi @ROBOTIS-Will and @ashekim I created a draft PR #180 with Ignition Gazebo support. I tested it on Galactic. Happy to get some feedback |
@ahcorde |
@ahcorde Thank you and have a nice day! |
Sorry to bring up this old issue but I'm quite interested in continuing using the Turtlebot 3 simulation even now that I switched to Gazebo Harmonic. The PR by @ahcorde looks promising but the branch it was merged into doesn't exist anymore. Are there any plans to support newer versions of Gazebo for the turtlebot3_simulation or should one use Turtlebot 4 instead? For reference currently the best option (in my opinion) for using the Turtlebot3 with Gazebo >Fortess is the fork by @azeey: https://github.com/azeey/turtlebot3_simulations/tree/new_gazebo (also see the Gazebo migration guide: https://gazebosim.org/docs/latest/migrating_gazebo_classic_ros2_packages/) |
I have tried to self implement the migration following this official tutorial https://gazebosim.org/docs/fortress/migrating_gazebo_classic_ros2_packages/, and also tried out the fork provided https://github.com/azeey/turtlebot3_simulations/tree/new_gazebo... The simulation can be launch without issue, but I found some errors exist in the simulation:
I am using ROS2 Humble + Ignition Fortress + Ubuntu 22, could anyone help inspect this issue? @TannerGilbert Have you encounter above issues as well when using the fork? |
@TZECHIN6 the fork that I mentioned above should not have the issues you mentioned above (I tested it with ROS2 Humble and Gazebo Harmonic). The only thing I think is still needed to get that fork into the main repo is that not all launch files were adapted to the new Gazebo and it's also a question if the Gazebo Classic support should be dropped (at least inside main) or if a separate package for newer Gazebo versions is desired. |
I have used another computer to rebuild the example, now the ghost robot is gone when driving it around, thats good, however as you see in the picture, the laser scan rendering still got some issues, it stick with the [0,0,0], even through it will update reflected ray, but its a off... The tf graph seem fine to me, so I think its a rendering issue? Btw, why you use Harmonic instead of Fortress, as the official document suggest using Fortress if Humble is selected. |
I finally figure it why, if <gz_frame_id>base_scan</gz_frame_id> is set, it will break the tf I believe, and the visualization would always stay at 0,0,0 position instead of the chassis link (or base_link) How to fix this error in ign-gazebo-6? |
@TZECHIN6 there's a bug affecting this in Fortress. The fix has just been released gazebosim/gz-sim#2712. Can you try updating to ign-gazebo 6.17? |
@azeey just got an update from apt, 6.17 version fix this bug. 👍 |
Ignition Gazebo is the latest generation of the Gazebo simulator. This repository only supports Gazebo classic so far, and that's going to EOL in 2025. It would be nice to give users an Ignition simulation and tutorials as well, so they can start migrating before then.
Ignition Gazebo is supported on most currently supported ROS distros. See REP-003 and REP-2000.
Open Robotics can do the work of adding a
turtlebot3_ignition
package or Noetic, Foxy, Galactic and Rolling. It could live alongside the existingturtlebot3_gazebo
, so that can continue to be supported until Gazebo classic reaches end-of-life.I expect
turtlebot_ignition
to be a thin package that uses the ros_ign_bridge to pass ROS commands directly to the simulator and read sensor data directly. It would be interesting to move the SDF models in turtlebot3_gazebo either to a common package to be reused by both simulators, or to Ignition Fuel (Gazebo 11 supports it too).Before we open pull requests, we'd like to check if there's interest from the maintainers in accepting the contribution.
The text was updated successfully, but these errors were encountered: