Following the steps on https://Fortress documentation on ros gazebo bridge I have noticed that the installed ros bridge is named ros_gz_bridge
and not ros_ign_bridge .
I think you need to update the documentation and change ros2 run ros_ign_bridge parameter_bridge /TOPIC@ROS_MSG@IGN_MSG
and its following example to ros2 run ros_gz_bridge ...
to avoid not found package error.
Thanks!
azeey
February 9, 2024, 6:53pm
2
Hello,
I’m surprised that ros2 run ros_ign_bridge
doesn’t work. Do you mind creating an issue at https://github.com/gazebosim/docs with more details on what steps you took to get the error?
Hi!
Of course not, I’ll do it now! Thank you for your response.
Here is the issue:
opened 12:35PM - 10 Feb 24 UTC
bug
<!-- If you're not sure whether your problem is a bug, please ask a question at
…
https://robotics.stackexchange.com instead.-->
## Environment
* OS Version: Ubuntu 20204
* Binary build: Gazebo Sim, version 6.16.0
## Description
In the [documentation of the bridge between Gazebo and ROS2](https://github.com/gazebosim/docs/blob/master/fortress/ros2_integration.md#bidirectional-communication) It is written to use the command `ros2 run ros_ign_bridge parameter_bridge /TOPIC@ROS_MSG@IGN_MSG` to create the bridge, which is wrong as you will get the error that `Package 'ros_ign_bridge' not found`.
The solution is to use `ros2 run ros_gz_bridge parameter_bridge` instead.
* Expected behavior: The command in the documentation should work!
* Actual behavior: Package 'ros_ign_bridge' not found
## Steps to reproduce
1. Install Gazebo Fortress following [Ubuntu Binary documentation](https://gazebosim.org/docs/fortress/install_ubuntu)
2. Install ROS 2 Humble following their [Ubuntu doc](https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html)
3. Install Gazebo ROS2 pairing following [Gazebo doc](https://gazebosim.org/docs/harmonic/ros_installation#installing-the-default-gazebo-ros-pairing)
4. Run the command mentioned in [ROS2 integration doc publish key stroke](https://gazebosim.org/docs/fortress/ros2_integration#publish-key-strokes-to-ros)
## Output
`Package 'ros_ign_bridge' not found`
<!-- Provide screenshots, console logs, backtraces, and/or anything that could
be useful to us resolving this issue -->
## Solution
Use `ros2 run ros_gz_bridge parameter_bridge`