Can't Connect
Can't Connect
I've installed the client app on both a MacAir and a Linux (12.04 LTS Ubuntu) laptop and I can't connect to the device?! The Mac client runs pretty slowly and I see a few exceptions, but it does run, just never connects. The ubuntu client runs the debug test for the UI very nicely with no observable errors (Mac runs it too but slower), but neither are connecting to my crazyflie... it's connected, blinking red, while the blue and green lights stay lit. This doesn't change (I've left it alone for upwards of 5 minutes without any noticeable change on either platform)....
Any trouble shooting ideas??
Any trouble shooting ideas??
Re: Can't Connect
Do you see the CF in the connect dialog box, or just the debug one?
6-DOF CF | wireless xbox 360 controller
Re: Can't Connect
Had to run cfclient as sudo on Ubuntu to get the Crazyradio to connect. Help --> About --> Debug should show you the connection status with the Crazyradio...
Re: Can't Connect
All I saw was the debug connection, which I could run just fine, but I never saw the device. I did run the cfclient as sudo on my ubuntu box but that gave me the same result (in case I had installed the udev fix incorrectly)..
Re: Can't Connect
So here's what I had to do on Ubuntu (after setting up the udev fix):
- Verify the Crazyradio is connected by going to Help --> About --> Debug.
At this point I could only see the debug connection.
- Then, with the Crazyflie off, go to Crazyflie --> Bootloader --> Initiate Bootloader Cold Boot, then within 5 seconds turn on the Crazyflie.
It took a second but eventually showed that the Crazyflie was connected to the bootloader.
- Click on Cancel Bootloading and close the bootloader window. From this point on I was able to see the Crazyflie listed when clicking on Connect from cfclient.
Still cannot get the Crazyradio to connect on OSX though. Hope that helps.
- Verify the Crazyradio is connected by going to Help --> About --> Debug.
At this point I could only see the debug connection.
- Then, with the Crazyflie off, go to Crazyflie --> Bootloader --> Initiate Bootloader Cold Boot, then within 5 seconds turn on the Crazyflie.
It took a second but eventually showed that the Crazyflie was connected to the bootloader.
- Click on Cancel Bootloading and close the bootloader window. From this point on I was able to see the Crazyflie listed when clicking on Connect from cfclient.
Still cannot get the Crazyradio to connect on OSX though. Hope that helps.
Re: Can't Connect
Alright, so when I go to Help -> About -> Debug I get the message "Can not find crazyradio dongle", so that certainly seems to be the issue.. On Mac the debug info doesn't even come up, so I'm going to punt on that for now. So, I'll keep digging. The dongle is plugged in over USB and I see the lights come up (and then turn off, perhaps they should be one) but it appears the radio is my issue..
Re: Can't Connect
Did you install the driver, or are you using the bitcraze VM which already has the driver installed?jbc wrote:Alright, so when I go to Help -> About -> Debug I get the message "Can not find crazyradio dongle", so that certainly seems to be the issue.. On Mac the debug info doesn't even come up, so I'm going to punt on that for now. So, I'll keep digging. The dongle is plugged in over USB and I see the lights come up (and then turn off, perhaps they should be one) but it appears the radio is my issue..
6-DOF CF | wireless xbox 360 controller
Re: Can't Connect
So I installed libusb, pyusb and those, am I missing something??? The only other item I've noticed is that the red/green lights stay on when I plug the dongle into my mac USB, but only flash when in the ubuntu.. Both are native machines.. I didn't see any link for a "driver" but maybe I missed something?? Thanks!
Re: Can't Connect
I assumed Linux would need a special driver like Windows but I don't see one either.jbc wrote:So I installed libusb, pyusb and those, am I missing something??? The only other item I've noticed is that the red/green lights stay on when I plug the dongle into my mac USB, but only flash when in the ubuntu.. Both are native machines.. I didn't see any link for a "driver" but maybe I missed something?? Thanks!
So the Crazyflie actually responds to the Crazyradio being plugged in?
6-DOF CF | wireless xbox 360 controller
Re: Can't Connect
Right, so what I'm trying to do is use the libusb python bindings to find the device... You see the "findDevice" function here https://bitbucket.org/bitcraze/crazyfli ... zyradio.py but I'm using the one that shipped with the libs (so _findDevice) and that doesn't give me anything when I plug in the radio dongle..