fix ros_gz_bridge message type for Gazebo Harmonic#241
fix ros_gz_bridge message type for Gazebo Harmonic#241justinIRBT merged 1 commit intoiRobotEducation:jazzyfrom
Conversation
|
Do you know why the build_and_test is failing on this branch? |
I noticed the build_and_test CI failure, but it seems unrelated to the changes in this PR. Based on the error log, it might be caused by an expired GPG key in the ROS repository. |
we're validating a fix in this PR: #242 |
ok @luffydod , we got CI passing again on our end. Can you please rebase and see if that fixes it for you? |
Thanks! I've just rebased onto the latest jazzy and force-pushed. |
Description
This PR updates the message types used in ROS-Gazebo bridge nodes to properly support Gazebo Harmonic. The current implementation uses
ignition.msgs.*which is for older Gazebo/Ignition versions, while Gazebo Harmonic requiresgz.msgs.*as specified in the repository README.Changes
sim.launch.pyto usegz.msgs.Clockinstead ofignition.msgs.Clockcreate3_ros_gz_bridge.launch.py, replacing all occurrences ofignition.msgs.*withgz.msgs.*Testing
Tested with Gazebo Harmonic, confirming that all bridges work correctly with these changes. This ensures proper communication between ROS 2 and Gazebo Harmonic simulation.
Motivation
These changes align the code with the correct message namespace convention for Gazebo Harmonic and fix compatibility issues when using the latest Gazebo version as recommended in the documentation.