Fix ros_gz_bridge parameter_bridge command syntax
Summary
Fixes the ros_gz_bridge parameter_bridge command in the Gazebo tutorial.
The command was using [ instead of @ as the separator between ROS and Gazebo message types:
- ros2 run ros_gz_bridge parameter_bridge /lidar2@sensor_msgs/msg/LaserScan[ignition.msgs.LaserScan
+ ros2 run ros_gz_bridge parameter_bridge /lidar2@sensor_msgs/msg/[email protected]
The incorrect syntax causes a "bad pattern" error.
Fixes #3761
@ahcorde: perhaps https://github.com/ros2/ros2_documentation/issues/3761#issuecomment-2720566447 is a better explanation of when/why it doesn't work.
It's a localised issue: when using Zsh as a shell, the bridge configuration string is interpreted as a regex/special character.
Just changing it to @ is not a proper solution though.
Edit: perhaps quoting using single quotes would already fix the issue? I haven't tried.
Per waffle, @azeey can you take a look at this?
This PR appears stale, and the reviewer feedback suggests preserving the original Gazebo -> ROS bridge syntax while quoting the bridge argument to avoid Zsh glob parsing. I can open a small replacement PR for that approach if that would be helpful.