jimjibone / robotarm

Code for the Eye-Tracking Robotic Arm 4th Year project by engineering students at the University of Leicester.

Home Page:https://robotarm.jamesreuss.co.uk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eye-Tracking Robotic Arm

This project is looking at the building of a robotic arm capable of lifting objects off a table, controlled by a user using eye-tracking. The movement control of the arm is assisted using 3D vision and object detection. The eye-tracking and object detection is made possible by utilising a PS3 Eye camera and the Xbox Kinect sensor.

Whats Here?

  1. Dependencies
  2. install.sh?
  3. Object Detection
  4. Eye Tracking

Install Dependencies

###The Dependencies### So far:

  • libfreenect (OpenKinect)
  • Point Cloud Library
  • OpenGL/GLUT (but we don't need to worry about this...)

###OS X and Ubuntu## In the Terminal run these commands, the script will do the rest, hopefully.

  1. Clone source (if not already cloned).
  2. cd into the repo.
  3. Install deps.
git clone git://github.com/jimjibone/robotarm.git
cd robotarm
./deps/install.sh

###Other OS's (Windoze)###

Soz guys but there are no installs for other OS's because of the PS Eye camera being stoopid. Well, the PS Eye camera does not work on the latest version of OS X, sadface but does work on Linux and Windows reportedly. Apart from that everything works on all platforms! Except this dependency install. Maybe later.

What does install.sh do?

###Install all the dependencies of the dependencies###

Does that.

###OpenKinect###

In order to get OK to bridge over properly with PCL we need to edit some files before OK installation. This has already been done in the jimjibone fork of libfreenect (jimjibone/libfreenect). This is then downloaded, built, installed and permissions + drivers fixed (on Linux).

###OpenCV###

OS X: A simple Homebrew install :) brew install opencv Linux: Just a standard install. But it is the cutting edge version from GitHub! BEWARE!

###Point Cloud Library###

OS X: Not very easy. For more info see the install.sh script and see how I have had to modify the Homebrew Formula. Linux: Good ol' Ubuntu has a PCL install using apt-get. Easy.

Build object_detect files

This can be done very simply by using Cmake:

  1. In the Terminal cd into object_detect
  2. mkdir build
  3. cd build
  4. Various cmake commands can now be run to produce makefiles or IDE projects:
    1. Normal binary makefile - cmake ..
    2. Xcode project - cmake .. -G 'Xcode'
    3. For other IDE's run cmake and a list of Generators will appear at the bottom
  5. To make the binaries if you used cmake .. then run make
  6. Otherwise, open the project file in your IDE and build that way.

Build EyeTracker files

Kinda need to do this...

About

Code for the Eye-Tracking Robotic Arm 4th Year project by engineering students at the University of Leicester.

https://robotarm.jamesreuss.co.uk


Languages

Language:C++ 57.2%Language:Objective-C 36.8%Language:C 2.9%Language:Objective-C++ 2.5%Language:CMake 0.6%