Skip to content

Installing Perceptual System

Aaron Mininger edited this page Oct 8, 2013 · 10 revisions

This wiki gives information on how to get the perceptual/motor system for the Rosie project at the University of Michigan. Installation is targeted towards Ubuntu. Installation is all done from the $HOME directory which you can change as desired. Environment variables should be added to ~/.bashrc

Navigation

Installing Perceptual System
Installing Rosie
Running Rosie


Installation


LCM

The LCM googlecode page and installation instructions can be found here

Necessary Packages (LCM and April)

sudo apt-get install build-essential git-core ant subversion gtk-doc-tools libglib2.0-dev 
libusb-1.0-0-dev gv libncurses-dev openjdk-6-jdk autopoint libgl1-mesa-dev libpng12-dev libdc1394-22-dev

Installation

svn checkout http://lcm.googlecode.com/svn/trunk lcm
cd lcm
./bootstrap.sh
./configure
make
sudo make install

Environment Variables

export CLASSPATH=$CLASSPATH:/usr/local/share/java/lcm.jar

Testing

If you run the command lcm-spy it should launch a window with which you can view LCM messages


April

The april wiki and installation instructions can be found here. A summary of the steps are listed below:

Necessary Packages

(See those for LCM)

Installation

git clone git://april.eecs.umich.edu/home/git/april.git
cd april/src
make
cd ../java
ant

Environment Variables

export CLASSPATH=$CLASSPATH:$HOME/april/java/april.jar
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/april/lib:$HOME/april/java/jni/jgl
alias java='java -ea -server'

Testing

If it all works you should be able to run java april.vis.VisTest


libfreenect

OpenKinect installation instructions can be found [here] (http://openkinect.org/wiki/Getting_Started)

Necessary Packages

sudo apt-get install git-core cmake freeglut3-dev pkg-config build-essential libxmu-dev libxi-dev libusb-1.0-0-dev

Installation

git clone git://github.com/OpenKinect/libfreenect.git
cd libfreenect
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig /usr/local/lib64/

Testing

If the kinect is connected you can view it using sudo glview


Rosie Perceptual System

Installation

git clone git://umbrella.eecs.umich.edu/home/mininger/probcog2.git probcog
cd probcog/java
ant

Environment Variables

export CLASSPATH=$CLASSPATH:$HOME/probcog/java/probcog.jar