From 2ebf6f090951ff40ec5310ba1d9808bb5250b07b Mon Sep 17 00:00:00 2001 From: Shivam Bhardwaj Date: Tue, 20 Jan 2026 20:20:23 -0800 Subject: [PATCH] Fix ros_gz_bridge parameter_bridge command syntax (#3761) The command was using '[' instead of '@' as the separator between ROS and Gazebo message types, causing a 'bad pattern' error. --- source/Tutorials/Advanced/Simulators/Gazebo/Gazebo.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Tutorials/Advanced/Simulators/Gazebo/Gazebo.rst b/source/Tutorials/Advanced/Simulators/Gazebo/Gazebo.rst index 5964b9e977d..762f0a87fa4 100644 --- a/source/Tutorials/Advanced/Simulators/Gazebo/Gazebo.rst +++ b/source/Tutorials/Advanced/Simulators/Gazebo/Gazebo.rst @@ -197,7 +197,7 @@ This topic will be available under the topic ``/lidar_scan``: .. code-block:: console $ source /opt/ros/{DISTRO}/setup.bash - $ ros2 run ros_gz_bridge parameter_bridge /lidar2@sensor_msgs/msg/LaserScan[ignition.msgs.LaserScan --ros-args -r /lidar2:=/laser_scan + $ ros2 run ros_gz_bridge parameter_bridge /lidar2@sensor_msgs/msg/LaserScan@ignition.msgs.LaserScan --ros-args -r /lidar2:=/laser_scan To visualize the data from the lidar in ROS 2 you can use Rviz2: