Page 1 of 1
Leap Motion
Posted: Thu May 30, 2013 1:27 pm
by paulwilkinson
So, I got a hold of one of these today. The coolest thing I can do with it so far is fire up Google Earth (
video) and fly around like superman.
Next step obviously is controlling my Crazyflie, but not entirely sure where to start. I will only need to make changes to the client modules presumably.
Most coding I have done recently has been hacking HTML and CSS, so I have some skills/knowledge but Python is new to me.
Any ideas?
Re: Leap Motion
Posted: Thu May 30, 2013 5:05 pm
by mrb0y
I preordered last year but they don't ship until july. :/ I had the same idea I'm looking to do the same.

Re: Leap Motion
Posted: Fri May 31, 2013 7:34 am
by tobias
Leap Motion + Crazyflie = Awesome!
If it is possible to make the Leap motion device work as a normal joystick driver and make it report 4 analog axis values it should be possible to map it directly in the cf-client.
Another way is to make use of the
cflib.
Re: Leap Motion
Posted: Fri May 31, 2013 9:12 am
by foosel
Preordered one a couple of months back as well, looking forward to playing around with this idea as well.
Re: Leap Motion
Posted: Mon Jun 03, 2013 1:39 pm
by marcus
Wow! Using this to control the Crazyflie would be awesome!
Anyone have access to the SDK and know if it's possible to interface with this in some way to easily get elevation/right/left?
/Marcus
Re: Leap Motion
Posted: Mon Jun 03, 2013 8:53 pm
by paulwilkinson
I have access to the SDK too, but don't really know much about the latter. The way Google Earth does it is perfect for the Crazyflie.
I have done a bit more digging though, and I think something like
this, which makes the Leap Motion appear in the system as a joystick/game controller might work, but it's not exactly a download-and-go windows installer...
Happy to have a play though if someone could give me the (fairly) basic steps.
Re: Leap Motion
Posted: Thu Aug 01, 2013 11:47 am
by tobias
I recently received my Leap Motion device and started looking into using at as a controller for the Crazyflie. The Leap4Joy, as pointed to by Paul, might be one way but it requires compiling the Leap4Joy code and it is not well documented. Another more clean solution would be to use the Leap Motion python interface and write a controller for the cfclient. I found some example code
here. I guess it is just a matter of doing...

Re: Leap Motion
Posted: Sun Aug 04, 2013 6:15 pm
by wisrou
Maybe you can take a look at this hack :
http://blog.iceddev.com/2013-07-30-cont ... cript.html
They use Leap Motion + NodeJS, then Google Glass + NodeJS to control AR Drone

Re: Leap Motion
Posted: Tue Aug 06, 2013 1:04 pm
by marcus
There's some code in the
pc client repo on the
dev-leapmotion branch that can be used for flying with the Leapmotion on Linux. It's just a quick hack to show the concept. There's more info
on the wiki in the hacks section.