Installing Kinect Demos for Electric

These instructions assume you are running Ubuntu, preferably 10.04&11.10. If you are brave, and want to use this on another operating system, please see the ROS General installation instructions, and follow the directions for desktop-full

  1. Install ros-electric-desktop-full

  2. Install openni ros wrappers:
    sudo apt-get install ros-electric-openni-kinect
  3. Get the rosinstall tool, git and mercurial:

    sudo apt-get install python-setuptools git mercurial
    sudo easy_install -U rosinstall
  4. wget the original rosinstall file
    cd ~/ros_workspace/
    wget http://people.csail.mit.edu/garratt/install_scripts/kinect_demos.rosinstall --no-check-certificate
  5. Replace "https://code.ros.org/svn/wg-ros-pkg/stacks/motion_planning_common/tags/unstable/" in the rosinstall file with "https://code.ros.org/svn/wg-ros-pkg/stacks/motion_planning_common/trunk/".

    gedit ~/ros_workspace/kinect_demos.rosinstall
  6. Validate certificate from MIT CSAIL's svn. Choose to accept the certificate (p)ermanently.
    svn list https://svn.csail.mit.edu/
  7. Check out the mit-ros-pkg code, as well as other needed libraries using rosinstall. This may take a while, since mit-ros-pkg/branches/sandbox has quite a lot packages.
    rosinstall ~/ros_workspace/kinect_demos /opt/ros/electric ~/ros_workspace/kinect_demos.rosinstall
  8. setup environment for kinect demos
    . ~/ros_workspace/kinect_demos/setup.sh

To install all the kinect demos, click on one of the demo images on MIT Kinect Demos.

To maintain the environment variables necessary to run the mit kinect demos in new terminals, run:

  • echo "source ~/ros_workspace/kinect_demos/setup.bash" >> ~/.bashrc
    echo ". ~/ros_workspace/kinect_demos/setup.sh" >> ~/.bashrc

Wiki: mit-ros-pkg/KinectDemos/electric (last edited 2012-04-06 14:16:56 by azureviolin)