From ImageWiki

Revision as of 12:53, 13 January 2009 by Hauberg (Talk | contribs)
Jump to: navigation, search

How to work with the Bumblebee2 Stereo Camera on Linux

This page contains instructions on how to setup the Bumblebee2 stereo camera on Linux. It also contains examples on how to use the camera.

Note: This page is work-in-progress so you really shouldn't trust anything you read here.


This guide has been tested on Fedora Core 10. It might work on other platforms, but it has not been verified. We require that you have libdc1394 version 2.0.2 installed, including developer files. You should note that this guide is intended for administrators, and not users. If you just want to use the camera you do not need to go through these steps.

1. Install Triclops

The first step is to install Triclops, which is the propitiatory library developed by Point Grey. You'll need the Triclops3.2.0.8-FC3.tgz file which is distributed by Point Grey to do this (if you don't have this file, then you shouldn't be performing these steps). Uncompress this file by typing

tar -zxvf Triclops3.2.0.8-FC3.tgz

This will produce a directory called Triclops3.2.0.8-FC3. Now, perform the following steps as root:

mkdir $PGR
cp -r Triclops3.2.0.8-FC3/doc Triclops3.2.0.8-FC3/include/ Triclops3.2.0.8-FC3/lib/ $PGR

Now, the files have been placed in a proper place. The next step is to create a .pc file such that pkg-config can find the new library. Now, create a directory called pkgconfig in the installation directory:

mkdir $PGR/pkgconfig

In this directory create a file called triclops3.2.pc with the following contents:


Name: triclops3.2
Description: Triclops Library for Stereo
Libs: -L${libdir} -lpnmutils -ltriclops
Cflags: -I${includedir}

Now, you just need to update your environment such that it sees this new file. Add the following line

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/point_grey/pkgconfig

to the /etc/profile file (you can also add this to your ~/.bashrc or similar if that is more appropriate). Now, Triclops should be installed.

Personal tools