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 4d7ecf8 commit 0e4f2ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

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 0e4f2ef

Please sign in to comment.