Scan failed, no any interface to connect

Post here to get support
Post Reply
Hank
Beginner
Posts: 5
Joined: Mon Jan 16, 2017 9:04 am

Scan failed, no any interface to connect

Post by Hank »

Rencently, I got a crazyfllie 2.0 and it could find the interface of radio://0/80/250K to get the information of crazyflie on Ubuntu VM. unfortunately, it doesn't work today, there is no interface that i can get by scanning from the UI no matter something have been tested such as building on the windows, flashing the firmware of crazyflie and updating the crazyradio.
On the other hand, i found that the bootloader is still available through the crazyradio and the crazyflie could connected by our phone app, so i can't understand which part is wrong and how to fix it, does anyone have the idea? The following is the message showing in the terminal:


INFO:cfclient.gui:Disabling STL printouts
INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2']
INFO:cfclient.utils.input.inputreaders:Successfully initialized [linuxjsdev]
INFO:cfclient.utils.input.inputreaders:Could not initialize [pysdl2]: No SDL2 support on Linux
INFO:cfclient.utils.input.inputinterfaces:Found interfaces: ['leapmotion', 'wiimote', 'zmqpull']
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [leapmotion]: Leap Motion library probably not installed (No module named 'leapsdk')
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [wiimote]: Missing cwiid (wiimote) driver No module named 'cwiid'
INFO:cfclient.utils.config:Dist config read from /home/bitcraze/projects/crazyflie-clients-python/src/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/bitcraze/.config/cfclient/config.json]
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
INFO:cfclient.utils.zmq_param:Biding ZMQ for parameters at tcp://*:1213
INFO:cfclient.utils.zmq_led_driver:Biding ZMQ for LED driverat tcp://*:1214
INFO:cfclient.utils.input:Using device blacklist [(VirtualBox|VMware)]
INFO:cflib.crtp.radiodriver:v0.53 dongle with serial N/A found

(python3:2636): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed

(python3:2636): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
INFO:cflib.drivers.cfusb:Looking for devices....
INFO:cflib.crtp.radiodriver:v0.53 dongle with serial N/A found
INFO:cflib.drivers.cfusb:Looking for devices....
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Scan failed, no any interface to connect

Post by arnaud »

What happens when you try to connect, does any LED on the crazyradio blinks?
Hank
Beginner
Posts: 5
Joined: Mon Jan 16, 2017 9:04 am

Re: Scan failed, no any interface to connect

Post by Hank »

Before we connect to the crazyflie, the crazyflie URL should be found by scanning.
I try to press the scan button and the red LED on the crazyradio is blinking but no any URL interface appears, so i can't get any URL to connect, therefore, i can't see the green LEDs on the crazyradio and the crazyflie are blinking like before.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Scan failed, no any interface to connect

Post by arnaud »

Have you changed the address of the Crazyflie? You can verify that by connecting the Crazyflie with USB, connect the client to it (the scan should show usb://0) and then you can click on "connect/configure 2.0". The default address (the one scanned by default) is 0xe7e7e7e7e7.
Hank
Beginner
Posts: 5
Joined: Mon Jan 16, 2017 9:04 am

Re: Scan failed, no any interface to connect

Post by Hank »

You are right!! I remember that i changed crazyflie's address few days ago. i try your way and everything is OK, thank you a lot!
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Scan failed, no any interface to connect

Post by arnaud »

Glad to hear! Have fun with your connected Crazyflie then :-).
Post Reply