Skip to content
henrystudy edited this page Dec 16, 2019 · 12 revisions

All about Camera

Contents



Environment setting to use a camera in raspberry pi

The repository requires the following environment:

  • ROS Kinetic
  • Raspbian Stretch
  • Opencv
  • Python3

Installing all requirements takes a long time, so we used the image created by a different author. You can download Raspbian Stretch + ROS + Opencv installed image in Medium Post and more details configuring the image can be found in this github repo.

The one problem with this image is that it uses Python2 as default and catkin_ws that is located in /home/pi/ is automatically launched. In order to create a custom catkin_ws project and use Python3 as default, you have to change the configuration in .bashrc file.

Also, if you want to use cv_bridge package in the project, you have to download the package from https://github.com/ros-perception/vision_opencv and do catkin make

Clone this wiki locally