22.5.5.1. 安裝
[TB3 SBC 端] 設定Camera硬體
$ sudo raspi-config

選 3,Interfacing Options

選 P1 Camera

啟動 camera interface


Raspberry Pi 重啟後,使用以下指令測試系統安裝是否正確。
$ raspistill -v -o test.jpg
顯示器上應會從攝影機看到 5 秒的預覽畫面,然後照相後存檔為 test.jpg
[TB3 SBC 端]:下列指令可在 ROS 系統安裝相依的 Raspberry Pi Camera package
$ cd ~/catkin_ws/src
$ git clone https://github.com/UbiquityRobotics/raspicam_node.git
$ sudo apt-get install ros-kinetic-compressed-image-transport ros-kinetic-camera-info-manager
$ cd ~/catkin_ws && catkin_make
Last updated
Was this helpful?