Setting up the Leap Motion

Discussions and questions about the Crazyflie Nano Quadcopter
Post Reply
fredford
Beginner
Posts: 1
Joined: Sun Dec 14, 2014 11:16 pm

Setting up the Leap Motion

Post by fredford »

Hi guys,

After having the Leap Motion for a while, I recently got a hold of the CrazyFlie and decided after seeing a few videos of people using the Leap Motion to control the CrazyFlie I would try this out. My problem is that I'm not entirely sure how to go about following the guide provided (http://wiki.bitcraze.se/projects:crazyf ... leapmotion) when they say to:

"Copy the file Leap.py from the directory LeapSDK/lib into the crazyflie-pc-client/lib/leapmotion directory"
"Copy the files in the LeapSDK/lib/x86 (or x64 directory) into the crazyflie-pc-client/lib/leapmotion directory"
"Clone the crazyflie-pc-client repository and switch to the dev-leapmotion branch"

Should I using be a different directory than the one established when I initially installed the CrazyFlie PC Client? Or how am I supposed to incorporate the Leap Motion files into the CrazyFlie PC Client?



Thanks,

fredford
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: Setting up the Leap Motion

Post by whoenig »

You would need to setup the software you need from scratch. Unfortunately, the wiki-page is outdated:-( The repository you need is now at https://github.com/bitcraze/crazyflie-c ... leapmotion. Use "Download zip" from there (or git clone) to get it. Extract it to another folder and follow the other instruction in the wiki. If it works out, please consider updating the wiki as well:-) I don't have a leap motion, so I can't actually try it myself.
Post Reply