Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post here to get support
Post Reply
Casey Scalf
Beginner
Posts: 12
Joined: Wed Apr 01, 2015 3:58 am

Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by Casey Scalf »

I bought this controller: http://www.amazon.com/gp/product/B004QR ... ge_o08_s00

I have the client up and running on my Mac OSX 10.10. I have this version of the client: cfclient-2013.4.2

I plugged it in and it does not work. I have no control. The client is reading the data but the controller does nothing. I looked in USB Prober and it is listed. Did I get the right one? How do I get this to control it properly?
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by arnaud »

Hi,

The Xbox controllers require custom drivers on Mac. After a quick googling I installed this one and on Yosemite it works: https://github.com/d235j/360Controller/ ... unofficial
Casey Scalf
Beginner
Posts: 12
Joined: Wed Apr 01, 2015 3:58 am

Re: Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by Casey Scalf »

That looks like a possible solution but I already sent the controller back.

I am looking for a more plug and play way to do it. I am thinking maybe the PS3 Controller. As listed here it shows that this one "works" with the Mac. https://wiki.bitcraze.io/projects:crazy ... putdevices

Assuming all goes to plan, how does it register with the client program? Is there a button to click? Does it just automatically connect? I am planning on going with the wired version unless that wireless works just as easily out of the box.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by arnaud »

PS3 and PS4 gamepads works out of the box. The PS4 gamepad even works easily with Bluetooth (pressing PS + share button puts it in pairing mode).

As for the client it should work as long as the mapping is well set. The input devices menu allows to change the mapping: https://wiki.bitcraze.io/doc:crazyflie: ... ut-devices
Casey Scalf
Beginner
Posts: 12
Joined: Wed Apr 01, 2015 3:58 am

Re: Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by Casey Scalf »

Great! This sounds silly but I did not notice that tab.

So, I would like bluetooth, that seems like a great way to go since it is wireless. Okay, so about the pairing. Can you detail the pairing a little more or link to a reference if there is one?

Is the PS + button on the controller? Any drivers?

Going to order one after I make sure I can wrap my head around it.

And thanks again for the help!
deathbrad
Beginner
Posts: 4
Joined: Tue May 19, 2015 6:40 pm

Re: Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by deathbrad »

Hi Casey,

On osx Yosemitte no driver needed for pairing in bluetooth or usb connection.
Just follow steps below :

You need to enable bluetooth on your mac.
Set your PS4 controller in pairing mode.
Go to bluetooth preference on your mac to pairing both.

http://www.tekrevue.com/tip/ps4-controller-mac

I use this controller without problem for CF2
Casey Scalf
Beginner
Posts: 12
Joined: Wed Apr 01, 2015 3:58 am

Re: Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by Casey Scalf »

Casey Scalf
Beginner
Posts: 12
Joined: Wed Apr 01, 2015 3:58 am

Re: Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by Casey Scalf »

Okay I'm just going to try it.

Looking to avoid getting the wrong one again but here it goes!
Casey Scalf
Beginner
Posts: 12
Joined: Wed Apr 01, 2015 3:58 am

Re: Controlling CrazyFlie 2.0 with Xbox Controller on a Mac

Post by Casey Scalf »

So that was the wrong controller. Thanks for the help.

I've had this drone thing for 6 months now and have had the most difficulty in actually using it. This has been really frustrating. I really want to play with this thing but I can't even get it to connect to a controller properly (iPhone app is not even acceptable for flying an aircraft properly - the joysticks never go back to 0 like a real controller does).

I hack stuff and make working electronics concoctions all the time. I know my way around electronics enough to see my experience is not just the result of me being a novice. I really hope you guys can dial it in a little bit more and refine the approach. Just getting a controller to work properly has been so difficult and expensive. Not a good consumer experience to say the least. I wanted cheap and hackable not incredible technical and unsupported.

Image of failed controller connection: https://goo.gl/photos/R8w1YsJVdygCsvn76

Here is the correct controller apparently: http://www.amazon.com/PlayStation-Duals ... controller

I will use these steps: http://osxdaily.com/2014/12/28/connect- ... -mac-os-x/
Post Reply