Page 1 of 2

[SOLVED]OSX: ui&ps3 controller work but cant connect to CF

Posted: Wed May 22, 2013 8:51 pm
by jonathantopf
Hi there, Im almost running on osx but not quite

I've installed all the modules manually and the ui now loads fine and the ps3 controller appears to be connected. I have the crazyflie plugged into a usb power source and the lights are one, the radio is plugged in, the red and green light flash once and system profiler shows that it is connected and recognised but when i click connect it waits a long time and i only get the debug option..

Does anyone have any suggestions of where to go from here

Many thanks

jon

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Thu May 23, 2013 6:16 am
by smiler
Unplug the crazyflie from the USB port and then press the power button. It should now show up in the connect dialog.

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Thu May 23, 2013 7:56 am
by jonathantopf
So i trued unplugging the usb cable but noting happened when i pressed power, so i plugged in the battery as i thought that would make sense :). With the battery charged when i press power the blue light is constant, the green light flashes 4 times and the red light blinks forever. When i click connect in the ui i still only get the debug connection though, im a bit stuck as to what to do next :S


jt

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Thu May 23, 2013 8:06 am
by tobias
Check if the red led on the Crazyradio is blinking when you press the connect button.

Have you tried connecting to the bootloader?

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Thu May 23, 2013 8:29 am
by jonathantopf
The red light blinks constantly whilst scanning... I tried to open the boot loader but it cant find the dongle even though it shows up in the system profiler, ive attached a screengrab
Screen Shot 2013-05-23 at 09.21.32.png
Thanks guys!

PS ( I cant find anywhere that says that i need a driver for the dongle on osx, is that correct? )

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Thu May 23, 2013 11:10 am
by tobias
I'm sorry but I'm lost when it comes to Mac. Getting a Mac might be a good first step bridging that :).

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Thu May 23, 2013 11:11 am
by marcus
Hi John,

Could you try the latest version (2013.4.2) that is available here. This version contains some extra debugdata that can be seen if you go to Help->About and have a look at the Debug tab. Could you cut and paste the text that's there?

/Marcus

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Thu May 23, 2013 8:14 pm
by jonathantopf
Hi there guys, heres the contents of the about dialogue

Cfclient version: 2013.4.2
System: darwin

Interface status
debug: Ok
serial: Not implemented
radio: Cannot find a Crazyradio Dongle
udp: Not implemented


Seems pretty clear that the dongle isn't connecting, could it be miss installed usb module or something, im not getting any unknown module errors though so i assume not

Cheers

jt

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Fri May 24, 2013 12:25 pm
by jonathantopf
Ok im getting one step closer, I built all my modules fron source but i neglected to build the actual libusb c library that pyusb uses

http://www.libusb.org/

once i built and installed i can now see a the debug connection when i press conect and also radio://0/10/250K which is most definitely progress

When i click connect on this crazyflie the blue light stays on, the red light blinks continuously and the green one flashes in synch with the usb dongle

i now get this output in the about dialogue


Cfclient version: 2013.4.2
System: darwin
Interface status
debug: Ok
serial: Not implemented
radio: Crazyradio version 0.5
udp: Not implemented

cheers

jt

Re: OSX: ui & ps3 controller work but cant connect to crazyf

Posted: Fri May 24, 2013 12:38 pm
by mjc506
That looks ok :)