This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
misc:hacks:leapmotion [2013-08-06 15:00] macke created |
misc:hacks:leapmotion [2015-03-01 23:27] fred |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Flying the Crazyflie with the Leapmotion ====== | ||
- | There' | ||
- | **Please note:** This is VERY experimental so be careful! | ||
- | |||
- | ====== What you need ====== | ||
- | A Crazyflie, a Leapmotion and you need to download the SDK for Linux from the [[https:// | ||
- | |||
- | ====== How to get it working ====== | ||
- | * Download the SDK for Linux and unpack it | ||
- | * Install the leap-*.deb packet that fits (64/32-bit) | ||
- | * Plug you leap motion and orient it so that the connector is on your right side | ||
- | * Start up the leap motion daemon by issuing the following command | ||
- | < | ||
- | sudo leapd | ||
- | </ | ||
- | * Clone the crazyflie-pc-client repository and switch to the '' | ||
- | < | ||
- | hg clone https:// | ||
- | hg update dev-leapmotion | ||
- | </ | ||
- | * Start the normal client | ||
- | < | ||
- | cd crazyflie-pc-client/ | ||
- | ./cfclient | ||
- | </ | ||
- | * You shouldn' | ||
- | * Don't connect to the Crazyflie yet! First try out the controls and watch the UI to see how they work. Move the hand up/down to increase/ | ||
- | * Fly :-) | ||
- | |||
- | 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 :-) | ||
- | |||
- | ====== Tweaking ====== | ||
- | Have a look in the '' |