... | ... | @@ -6,23 +6,20 @@ This is a brief overview about what must be done before using the Easpberry Pi C |
|
|
|
|
|
2. Test the camera with installing and then using e.g.
|
|
|
|
|
|
'''python
|
|
|
sudo raspistill -o Desktop/image3.jpg
|
|
|
'''
|
|
|
`sudo raspistill -o Desktop/image3.jpg`
|
|
|
|
|
|
Referring to https://larrylisky.com/2016/11/24/enabling-raspberry-pi-camera-v2-under-ubuntu-mate/ . Unfortunately, RasPi Config can't be installed on 20.04 (?)
|
|
|
|
|
|
3. Read module at https://gitlab.com/boldhearts/ros2_v4l2_camera, run nodes with (so far only the raw image works!)
|
|
|
|
|
|
'''bash
|
|
|
ros2 run v4l2_camera v4l2_camera_node
|
|
|
'''
|
|
|
|
|
|
`ros2 run v4l2_camera v4l2_camera_node`
|
|
|
|
|
|
|
|
|
4. To view the image data simply run
|
|
|
'''bash
|
|
|
ros2 topic echo /image/raw
|
|
|
'''
|
|
|
|
|
|
`ros2 topic echo /image/raw`
|
|
|
|
|
|
or use the ros2 viewer
|
|
|
'''bash
|
|
|
ros2 run rqt_image_view rqt_image_view
|
|
|
''' |
|
|
\ No newline at end of file |
|
|
|
|
|
`ros2 run rqt_image_view rqt_image_view`
|
|
|
|