Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixup bash command rendering #927

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions image_proc/doc/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ Using image_proc Launch File
Make sure your camera driver is running. To see the available raw
image topics from compatible drivers you can check:

```bash
$ ros2 topic list | grep image_raw
```
.. code-block:: bash

$ ros2 topic list | grep image_raw

Normally the raw image from the camera driver is not what you want
for visual processing, but rather an undistorted and (if necessary)
Expand All @@ -75,9 +75,9 @@ running on a robot, it's probably best to run ``image_proc`` there.
For example, if the driver is publishing topics ``/my_camera/image_raw``
and ``/my_camera/camera_info`` you would do:

```bash
$ ros2 launch image_proc image_proc.launch.py namespace:=my_camera
```
.. code-block:: bash

$ ros2 launch image_proc image_proc.launch.py namespace:=my_camera

Notice that we push our ``image_proc`` launch file down into the
``/my_camera`` namespace, in which it subscribes to the ``image_raw``
Expand All @@ -86,8 +86,8 @@ within the ``/my_camera`` namespace.

In a separate terminal (on your home machine, if you are running on a robot):

```bash
$ ros2 run image_view image_view --ros-args -r image:=my_camera/image_rect_color
```
.. code-block:: bash

$ ros2 run image_view image_view --ros-args -r image:=my_camera/image_rect_color

This will display an undistorted color image from ``my_camera``.
Loading