Point Grey Camera - olinrobotics/gravl GitHub Wiki
-
Go here to create an account and download the FlyCapture SDK for your OS
-
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
- You can run this command to list the connected cameras
rosrun pointgrey_camera_driver list_cameras
- You can run this command launch the driver
roslaunch pointgrey_camera_driver camera.launch
- The official documentation is here
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
The CAD for the camera mount is here
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.
- 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
-
The FlyCapture SDK (a .tar.gz) can be downloaded here
-
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
- 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
- Clone the git repository for the driver into your
~/catkin_ws/src
directory
git clone https://github.com/ros-drivers/pointgrey_camera_driver.git
- Catkin make to add the driver