= Minority Report Demo = This is a kinect demo found in the [[mit-ros-pkg]] repository. For more MIT kinect demos check out the [[mit-ros-pkg/KinectDemos| MIT Kinect Demos]] page. <> <> == How to Run this Demo == <> {{{{#!wiki version cturtle === Physical Setup === This works best with a projector, but any monitor will do. In order to not become confused, I highly recommend that you put the kinect over or under the monitor. === Installation === 1. Like all MIT kinect demos, you must first perform the [[mit-ros-pkg/KinectDemos#General_Installation| General Installation ]] 2. Once your environment is setup, run: {{{ rosmake kgui hand_interaction skeletal_tracker }}} === Execution === This demo uses the finger detector. To launch it run: {{{ roslaunch hand_interaction finger_detector.launch }}} The launch the gui: {{{ rosrun kgui calgui }}} }}}} {{{{#!wiki version diamondback === Physical Setup === This works best with a projector, but any monitor will do. In order to not become confused, I highly recommend that you put the kinect over or under the monitor. === Installation === 1. Like all MIT kinect demos, you must first perform the [[mit-ros-pkg/KinectDemos#General_Installation| General Installation ]] 1. make sure you get [[mit-ros-pkg/KinectDemos/Piano|Piano Player demo]] running. 1. in file kgui/rosdep.yaml, replace '' glut: ubuntu: libglut3-dev '' with ''' glut: ubuntu: lucid: apt: packages: [ libglut3-dev ] maverick: apt: packages: [ libglut3-dev ] natty: apt: packages: [ libglut3-dev ] oneiric: apt: packages: [ freeglut3-dev ] ''' {{{ rosed kgui rosdep.yaml }}} 1. install depencencies {{{ rosdep install kgui }}} 1. Once your environment is setup, run: {{{ rosmake kgui hand_interaction skeletal_tracker }}} === Execution === This demo uses the finger detector. To launch it run: {{{ roslaunch hand_interaction finger_detector.launch }}} The launch the gui: {{{ rosrun kgui calgui }}} }}}} {{{{#!wiki version electric === Physical Setup === This works best with a projector, but any monitor will do. In order to not become confused, I highly recommend that you put the kinect over or under the monitor. === Installation === 1. Like all MIT kinect demos, you must first perform the [[mit-ros-pkg/KinectDemos#General_Installation| General Installation ]] 1. make sure you get [[mit-ros-pkg/KinectDemos/Piano|Piano Player demo]] running. 1. in file kgui/rosdep.yaml, replace '' glut: ubuntu: libglut3-dev '' with ''' glut: ubuntu: lucid: apt: packages: [ libglut3-dev ] maverick: apt: packages: [ libglut3-dev ] natty: apt: packages: [ libglut3-dev ] oneiric: apt: packages: [ freeglut3-dev ] ''' {{{ rosed kgui rosdep.yaml }}} 1. install depencencies {{{ rosdep install kgui }}} 1. in file kgui/src/RosGlobals.h, replace ''void Publish(const ros::Message& _msg)'' with '''void Publish(const rosMessage& _msg)''', then add '''template '''above it. {{{ rosed kgui RosGlobals.h }}} 1. Once your environment is setup, run: {{{ rosmake kgui hand_interaction skeletal_tracker }}} === Execution === This demo uses the finger detector. To launch it run: {{{ roslaunch hand_interaction finger_detector.launch }}} The launch the gui: {{{ rosrun kgui calgui }}} Now check the boxes 'online mode' and 'hand in' }}}} == Development Info == === Nodes Involved === * [[openni_camera|openni_camera/openni_node]] * [[skeletal_tracker|skeletal_tracker/tracker]] * [[hand_interaction|hand_interaction/detectskelhands]] * [[kgui|kgui/calgui]] === Dependencies === * ni * pcl * hand_interaction