This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
misc:hacks:leapmotion [2015-03-01 23:27] fred |
misc:hacks:leapmotion [2021-06-24 16:45] (current) kimberly |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <WRAP center round important 60%> | ||
+ | This page has deprecated and will be archived. Please go to [[https:// | ||
+ | </ | ||
+ | ====== Flying the Crazyflie with the Leapmotion ====== | ||
+ | There' | ||
+ | **Please note:** This is VERY experimental so be careful! | ||
+ | |||
+ | ====== What you need ====== | ||
+ | A Crazyflie, a Leap Motion, the normal [[https:// | ||
+ | |||
+ | ====== How to get it working ====== | ||
+ | * Download the SDK and unpack it | ||
+ | * Download and install the normal installer (for Linux the installer is in the SDK) | ||
+ | * Copy the file '' | ||
+ | * Copy the files in the '' | ||
+ | * Plug your Leap Motion | ||
+ | * Start up the Leap Motion daemon if it's not already started. On Linux this is done by issuing the following command | ||
+ | < | ||
+ | sudo leapd | ||
+ | </ | ||
+ | * Clone the crazyflie-clients-python repository and switch to the '' | ||
+ | < | ||
+ | git clone https:// | ||
+ | git checkout dev-leapmotion | ||
+ | </ | ||
+ | * Start the normal client | ||
+ | < | ||
+ | cd crazyflie-clients-python/ | ||
+ | ./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 '' |