Skip to content

Commit

Permalink
READMEにカメラライントレースのスイッチ操作の説明を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeKato committed Jan 25, 2024
1 parent 72d8965 commit 7d4f392
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ Then, launch nodes with the following command:
$ ros2 launch raspimouse_ros2_examples camera_line_follower.launch.py video_device:=/dev/video0
```

Place Raspberry Pi Mouse on the line and press SW2 to start line following.

Press SW0 to stop the following.

This sample publishes two topics: `camera/color/image_raw` for the camera image and `result_image` for the object detection image.
These images can be viewed with [RViz](https://index.ros.org/r/rviz/)
or [rqt_image_view](https://index.ros.org/p/rqt_image_view/).
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ Raspberry Pi Mouseにカメラマウントを取り付け、WebカメラをRaspb
$ ros2 launch raspimouse_ros2_examples camera_line_follower.launch.py video_device:=/dev/video0
```

ライン上にRaspberry Pi Mouseを置き、SW2を押してライントレースを開始します。
停止させる場合はSW0を押します。

カメラ画像は`camera/color/image_raw`、物体検出画像は`result_image`というトピックとして発行されます。
これらの画像は[RViz](https://index.ros.org/r/rviz/)
[rqt_image_view](https://index.ros.org/p/rqt_image_view/)
Expand Down

0 comments on commit 7d4f392

Please sign in to comment.