BumbleBee

From ImageWiki

(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
  tar -zxvf Triclops3.2.0.8-FC3.tgz
  tar -zxvf Triclops3.2.0.8-FC3.tgz
-
This will produce a directory called ''Triclops3.2.0.8-FC3''.
+
This will produce a directory called ''Triclops3.2.0.8-FC3''. Now, perform the following steps as ''root'':
 +
 
 +
PGR=/opt/point_grey
 +
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:
 +
 
 +
prefix=/opt/point_grey
 +
exec_prefix=${prefix}
 +
libdir=${prefix}/lib
 +
includedir=${prefix}/include
 +
 +
Name: triclops3.2
 +
Description: Triclops Library for Stereo
 +
Version: 3.2.0.8
 +
Libs: -L${libdir} -lpnmutils -ltriclops
 +
Cflags: -I${includedir}

Revision as of 12:46, 13 January 2009

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.

Installation

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:

PGR=/opt/point_grey
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:

prefix=/opt/point_grey
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include

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