Unable to use Crazyradio PA with Python Client on Ubuntu 14.04 #214
Output on the terminal:
I also tested the dongle in Mac OS X El Capitan and in the Bitcraze VM on the same Mac OS system. I got the same result in Mac OS as I did in Ubuntu 14.04. That is, the output in the terminal prints the following whenever I click scan:
However, the radio interface does not appear as an option in the "Select an interface" drop down menu in the Python client.
On the other hand, I did have better results with the Bitcraze VM in Mac OS. Virtualbox detected the USB dongle, but it too printed out the same information to the terminal: it found the dongle and it is looking for devices. But the VM does not provide a radio option connect to the Crazyflie.
I also changed the communication channel and the data rate for the Crazyflie in the VM (on Mac OS) and in Mac OS itself. But still nothing.
Below has the debug information from Mac OS El Capitan, Ubuntu 14.04 LTS, and the Bitcraze VM on Mac OS. The only differences among the systems are in the output for "Cfclient" and "Input readers", which I specify.
Cfclient (on Mac OS X El Capitan)
Cfclient (on Ubuntu 14.04 LTS)
Cfclient (on Bitcraze VM)
Input readers (on Mac OS X El Capitan)
Input readers (on Ubuntu 14.04 LTS)
Input readers (on Bitcraze VM)
There seems to be no problem with the USB connection of the client, your client is connected to a Crazyradio. Maybe there is a problem with the Crazyradio itself.
When you click on the "Scan" button do you see the LEDs blinking on the Crazyradio? It should blink red mostly with a bit of Green if a Crazyflie is detected. Then the dorpdown should show something like "radio://0/80/250k"
So, initially when I received the dongle I think it had version 0.51. When I plugged the dongle into the USB port, the green LED lit up for approximately one second then turned off. And whenever I scanned for the Crazyflie via the PC client the red LED continually flashed until the client's scan failed to detect the Crazyflie. The green LED never blinked during the scan.
However, with version 0.53 the dongle's green LED remains on when it's plugged into the USB port. And when I scan for the Crazyflie, I can see the red LED blinking if I am a few centimeters away from the dongle; the red LED's brightness is dominated by the green LED so it is barely noticeable. Should the green LED remain on once it's plugged in? I assume not if you are saying that the green LED should blink a bit if a Crazyflie is detected.
Also, no the radio interface has never shown up during any of the scans that I did (for neither dongle versions).
It looks as if you find the dongle correctly since it's printed in the console:
Here's what's supposed to happen, let me know at what step there's an issue:
You said that you were able to change the address of your Crazyflie 2.0, so you can connect the bootloader?
When I plug the dongle into the computer, the green light remains on. I don't know if the red light blinks as well since the intensity of the green LED is much higher than the red LED.
The start-up light sequence for the Crazyflie is normal; I verified it via the tutorial, so I know the Crazyflie works. I've also flown the Crazyflie using the Android app as well.
Whenever I press the scan button on the console, I can see the red LED blinking rapidly if I am a few inches away from the dongle. But the green LED never comes off; from the time the dongle is plugged in, the green LED remains on.
And I have never seen the "radio" interface in the dropdown menu. This is also true for firmware 0.51.
I am also not able to access the Crazyflie 2.0 bootloader. I am only connect to the Crazyflie via USB.
I have the same problem on Ubuntu 15.04
UPDATE: It worked after I added this file /etc/udev/rules.d/99-crazyradio.rules