Products
-
-
- Accessories
- Breakout boards
This is an old revision of the document!
There's a quick hack for flying the Crazyflie with the Leapmotion in the Crazyflie PC client repo on the dev-leapmotion
branch. It's just a quick test so far so it's a bit glitchy and only works for Linux (but this could easily be changed).
Please note: This is VERY experimental so be careful!
A Crazyflie, a Leapmotion and you need to download the SDK for Linux from the Leapmotion devevloper site (yes, you have to register..).
sudo leapd
dev-leapmotion
branchhg clone https://bitbucket.org/bitcraze/crazyflie-pc-client hg update dev-leapmotion
cd crazyflie-pc-client/bin ./cfclient
In order to minimize the risk of accidental flying the orientation is only read when 4 or more fingers are detected. If the Crazyflie just drops out of the air it's probably because of this. So making a fist with your hand during flight will make the Crazyflie drop
Have a look in the crazyflie-pc-client/lib/cfclient/utils/leapreader.py
file.