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

Post here to get support
jonathantopf
Beginner
Posts: 7
Joined: Wed May 22, 2013 8:46 pm

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

Post 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
smiler
Member
Posts: 30
Joined: Wed May 08, 2013 2:51 pm
Location: Uppsala, Sweden

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

Post by smiler »

Unplug the crazyflie from the USB port and then press the power button. It should now show up in the connect dialog.
jonathantopf
Beginner
Posts: 7
Joined: Wed May 22, 2013 8:46 pm

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

Post 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
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

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

Post 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?
jonathantopf
Beginner
Posts: 7
Joined: Wed May 22, 2013 8:46 pm

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

Post 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? )
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

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

Post 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 :).
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

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

Post 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
jonathantopf
Beginner
Posts: 7
Joined: Wed May 22, 2013 8:46 pm

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

Post 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
jonathantopf
Beginner
Posts: 7
Joined: Wed May 22, 2013 8:46 pm

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

Post 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
Last edited by jonathantopf on Fri May 24, 2013 12:42 pm, edited 1 time in total.
mjc506
Beginner
Posts: 13
Joined: Wed Feb 20, 2013 1:41 pm

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

Post by mjc506 »

That looks ok :)
Post Reply