Controlling a CF with your MIND?

Discussions about quadcopters/multi-rotors
Post Reply
humblehacker
Member
Posts: 34
Joined: Thu May 16, 2013 7:42 pm

Controlling a CF with your MIND?

Post by humblehacker »

For anyone unfamiliar with commercial EEG headsets like the Mindwave Mobile this will sound completely absurd, but alas it is completely doable! This instructable pretty much lays out all the steps necessary- http://www.instructables.com/id/Brain-C ... elicopter/. The instructable was written for a DSM2-based copter using a program called https://synapse.puzzlebox.info which converts brain wave signals into an interface to control things like Lego Mindstorms and Arduino. Puzzlebox also has a newer program called "Orbit" that controls a different helicopter, but the newer one is based on IR signals and less compatible with standard Quad transmitters.
This seems like the kind of project that would be tailor made for the CF since the Crazyradio allows most of the hacking to be done in software. Not only that but the Puzzlebox software is also based on QT and appears to share many of the same components with the CF PC Client!
Has anybody attempted anything like this before? Perhaps we could create an input profile for the Mindwave Headset? Or find a way to merge the Puzzlebox Client into CF PC Client?

Also, it appears that both CF and Mindwave are supported by the Cylon.js platform - http://cylonjs.com/documentation/platforms/. Perhaps it might be even easier to write a new client just in Javascript?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Controlling a CF with your MIND?

Post by tobias »

Great project and idea! Would love to try to control the CF with my mind. It shouldn't be to hard to do and we tired to design the CF client in a way so that it would be easy to add stuff like this. Adding control for the leap motion was pretty easy so this should be as well.
humblehacker
Member
Posts: 34
Joined: Thu May 16, 2013 7:42 pm

Re: Controlling a CF with your MIND?

Post by humblehacker »

I came so close to making it work but I couldnt get the Puzzlebox Synapse binary to compile. Without which I have no means of communicating with Puzzlebox Brainstorms... HOWEVER... I might've found something 1000 times better... At least if your a Javascript developer... Cylon.js, a new js robotics library akin to Johnny-Five, has support for both the CF- http://cylonjs.com/documentation/platforms/crazyflie/ and the Mindwave Headset http://cylonjs.com/documentation/platforms/neurosky/.
I'm not much of a Javascript guy, but these guys have made it look pretty darn easy... Perhaps TOO easy? But we'll have to see...
Looks like they've got versions in Ruby (http://artoo.io/) and Go (http://gobot.io/) as well!
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Controlling a CF with your MIND?

Post by tobias »

Well make sure to check that out thanks! Would be so awesome to have as a demo!
linkstatic
Beginner
Posts: 1
Joined: Thu Oct 23, 2014 8:20 pm

Re: Controlling a CF with your MIND?

Post by linkstatic »

I used cylon-crazyflie to fly the guy. Well I tried to ran the sample scripts in the examples folder and it did fly. I am using the VM for crazyflie which the bitcraze gives. But I have a major problem. Once i run node crazyflie.js it detects the crazyradio intially and runs the script well. But if i try to run it again it doesnt. Any ideas?
Post Reply