Add Gazebo Sim support while maintaining Gazebo Classic compatibility#13
Open
Add Gazebo Sim support while maintaining Gazebo Classic compatibility#13
Conversation
Co-authored-by: marc-hanheide <1153084+marc-hanheide@users.noreply.github.com>
Co-authored-by: marc-hanheide <1153084+marc-hanheide@users.noreply.github.com>
Co-authored-by: marc-hanheide <1153084+marc-hanheide@users.noreply.github.com>
Co-authored-by: marc-hanheide <1153084+marc-hanheide@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate hunter_gazebo to the new Gazebo Sim
Add Gazebo Sim support while maintaining Gazebo Classic compatibility
Nov 11, 2025
marc-hanheide
approved these changes
Nov 11, 2025
Co-authored-by: marc-hanheide <1153084+marc-hanheide@users.noreply.github.com>
Member
|
@LeonardoGuevara @ibrahimhroob I tried this to retain support for both gazebo classic and new gazebo sim... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements migration from Gazebo Classic to Gazebo Sim (formerly Ignition Gazebo) following LCAS migration patterns. Both simulators remain functional.
Changes
Package Dependencies (
hunter_gazebo/package.xml)ros_gz_sim,ros_gz_bridge,gz_ros2_controlalongside existing Gazebo Classic dependenciesLaunch Files
launch_gz_sim.launch.pyfor Gazebo Sim usingros_gz_sim/gz_sim.launch.pyandros_gz_sim/createspawnersim_gazebo:=simargument to xacro to load only Gazebo Sim plugin/clock@rosgraph_msgs/msg/Clock[gz.msgs.ClockExecuteProcesstocontroller_manager/spawnernodeslaunch_sim.launch.pyfor Gazebo Classic to passsim_gazebo:=classicargumentRobot Description (
hunter_description/description/ros2_control.xacro)sim_gazeboargument (default: 'classic')libgazebo_ros2_control.so) loads only whensim_gazebo:=classiclibgz_ros2_control-system.so) loads only whensim_gazebo:=sim$(find ...)→$(find-pkg-share ...)Documentation
MIGRATION_GUIDE.mdwith technical details, plugin selection explanation, and testing checklistUsage
The appropriate plugin loads based on the xacro argument passed by each launch file, ensuring only one simulator plugin is active at a time.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.