Skip to content

Commit

Permalink
Add information to README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Castro <sebas.a.castro@gmail.com>
  • Loading branch information
sea-bass committed Dec 6, 2022
1 parent 9afd220 commit b272c27
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions ros_gz_image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,14 @@ For compressed images, install
and the bridge will publish `/compressed` images. The same goes for other
`image_transport` plugins.

To run the bridge from the command line:

```shell
ros2 run ros_gz_image image_bridge /topic1 /topic2
```

You can also modify the [Quality of Service (QoS) policy](https://docs.ros.org/en/rolling/Concepts/About-Quality-of-Service-Settings.html#qos-policies) used to publish images using an additional `qos` ROS parameter. For example:

```shell
ros2 run ros_gz_image image_bridge /topic1 /topic2 --ros-args qos:=sensor_data
```

0 comments on commit b272c27

Please sign in to comment.