Skip to content

Point Grey Camera

Andrew Mascillaro edited this page Nov 2, 2019 · 11 revisions

Installation

  1. Go here to create an account and download the FlyCapture SDK for your OS

  2. Install the ROS pointgrey_camera_driver using the following command where <ROS version> is the version of ROS that you are using (eg. indigo, kinetic...)

sudo apt-get install ros-<ROS version>-pointgrey-camera-driver
  1. You can run this command to list the connected cameras
rosrun pointgrey_camera_driver list_cameras
  1. You can run this command launch the driver
roslaunch pointgrey_camera_driver camera.launch
  • The official documentation is here

Installation V2

sudo apt install -y libraw1394-11
sudo apt install -y libgtkmm-2.4-dev
sudo apt install -y libglademm-2.4-dev
sudo apt install -y libgtkglextmm-x11-1.2-dev
sudo apt install -y libusb-1.0-0

git clone https://github.com/RhobanDeps/flycapture
cd flycapture
yes | sudo sh install_flycapture.sh

cd ~/catkin_ws/src
git clone https://github.com/ros-drivers/pointgrey_camera_driver.git
cd ..
catkin_make

Mount

The CAD for the camera mount is here

Making Bags

Things to remember when collecting data:

  • Focus the camera
  • run test_pointgrey.py while recording to check on what is being picked up real time.

Troubleshooting

FlyCapture SDK

  1. Run this command to install the dependencies
sudo apt-get install libraw1394-11 libgtkmm-2.4-1v5 libglademm-2.4-1v5 libgtkglextmm-x11-1.2-dev libgtkglextmm-x11-1.2 libusb-1.0-0
  1. The FlyCapture SDK (a .tar.gz) can be downloaded here

  2. Extract the file above (using tar -xvzf <filename> or a folder extractor) and run this command in the folder

sudo sh sudo sh install_flycapture.sh
  1. If there are dependency errors in any code block above, run this command to fix dependencies and try again
sudo apt-get -f install
  • the official documentation is here

Pointgrey Camera Driver

  1. Clone the git repository for the driver into your ~/catkin_ws/src directory
git clone https://github.com/ros-drivers/pointgrey_camera_driver.git
  1. Catkin make to add the driver
Clone this wiki locally