... | ... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
This is a brief overview about what must be done before using the Easpberry Pi Camera V2 with a Raspberry Pi 4 and Ubuntu 20.04.
|
|
|
|
|
|
1. Navigate to the file boot/firmware/config.txt and add OR edit at the end of the file without quotes: "start_x=1". This says ubuntu to include the Camara via the specific Hardware Port.
|
|
|
1. Navigate to the file boot/firmware/config.txt and add OR edit at the end of the file `start_x=1`. This says ubuntu to include the Camara via the specific Hardware Port.
|
|
|
|
|
|
2. Test the camera with installing and then using e.g.
|
|
|
|
... | ... | @@ -15,9 +15,13 @@ Referring to https://larrylisky.com/2016/11/24/enabling-raspberry-pi-camera-v2-u |
|
|
`ros2 run v4l2_camera v4l2_camera_node`
|
|
|
|
|
|
|
|
|
4. To view the image data simply run
|
|
|
4. To view the image data simply check topics
|
|
|
|
|
|
`ros2 topic echo /image/raw`
|
|
|
`ros2 topic list`
|
|
|
|
|
|
and run
|
|
|
|
|
|
`ros2 topic echo /image_raw`
|
|
|
|
|
|
or use the ros2 viewer
|
|
|
|
... | ... | |