gazebosim / docs

High-level Gazebo documentation that gets published to https://gazebosim.org/docs/
https://gazebosim.org/docs
44 stars 80 forks source link

Wrong ROS2 bridge in Fortress ros integration documentation #429

Closed Mohammadreza-Beygifard closed 3 months ago

Mohammadreza-Beygifard commented 4 months ago

Environment

Description

In the documentation of the bridge between Gazebo and ROS2 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.

Steps to reproduce

  1. Install Gazebo Fortress following Ubuntu Binary documentation
  2. Install ROS 2 Humble following their Ubuntu doc
  3. Install Gazebo ROS2 pairing following Gazebo doc
  4. Run the command mentioned in ROS2 integration doc publish key stroke

Output

Package 'ros_ign_bridge' not found

Solution

Use ros2 run ros_gz_bridge parameter_bridge

azeey commented 4 months ago

Thanks for catching that! I think we can update that documentation to use gz names except the ign gazebo empty.sdf command. Would you be able to open a PR for that?

Note to self: we should also create a small document explaining when to use ign vs gz and link to all tutorial pages.

Mohammadreza-Beygifard commented 4 months ago

Of course I can do it! I'll do it today or tomorrow afternoon. Thanks!