Example Code

Kinect and Lego Mindstorms Motion Tracking Robot

Code and Documents

Attachment

Hi Everyone,

                    I am a new (< 6 months in lunch breaks) user and put this together as a learning challenge. Below is some example code of a motion tracking robot I made using the Kinect and two Lego Mindstorms kits. I used the Kinesthesia toolkit by University of Leeds and the Mindstorms toolkit for Labview. I did this on Labview 2012. The program is an amalgam and modification of the Kinesthesia toolkit example and the PI_motor control example from the Mindstorms toolkit. It works OK but be warned the motors will jump about unless you bring the gains (multiplication factors on the front panel) up slowly. I also had to close the program and restart it everytime I made a modification. I am sure there are more elegant solutions but I hope it provides you with a quick start up to this sort of thing. I'd like to thank Ollie Peyton and Loren Picco for help with learning Labview and National Instruments for giving me a Lego Mindstorms kit in a prize draw!

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors