forked from bitcraze/crazyflie-clients-python
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi,
trying to use this cfclient fork to connect to esp-drone (I'm on mac m1). I click scan, then connect and got the errore below. Wifi is connected to the esp-drone one.
Any hints?
Thanks
vicio@vicio-m1 crazyflie-clients-python % cfclient
UserWarning: Using SDL2 binaries from pysdl2-dll 2.24.0
INFO:cfclient.gui:Disabling STL printouts
INFO:cfclient.gui:Foundation not found. Menu will show python as application name
INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2']
INFO:cfclient.utils.input.inputreaders:Could not initialize [linuxjsdev]: Only supported on Linux
INFO:cfclient.utils.input.inputreaders:Successfully initialized [pysdl2]
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 /Users/vicio/src/espressif-esp-drone/crazyflie-clients-python/src/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/Users/vicio/Library/Application Support/cfclient/config.json]
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
INFO:OpenGL.acceleratesupport:No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate'
INFO:cfclient.utils.zmq_led_driver:ZMQ led disabled in config file
INFO:cfclient.utils.zmq_param:ZMQ param disabled in config file
INFO:cfclient.gui:If startup fails because of "xcb", install dependency with `sudo apt install libxcb-xinerama0`.
INFO:cfclient.utils.input:Using device blacklist [(VirtualBox|VMware)]
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
Cannot find a Crazyradio Dongle
INFO:cflib.drivers.cfusb:Looking for devices....
INFO:cflib.crtp.prrtdriver:Initialized PRRT driver.
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for toolbox_areas
INFO:cfclient.ui.tab_toolbox:No config found for open_toolboxes
INFO:cfclient.ui.tab_toolbox:No config found for open_toolboxes
WARNING: Populating font family aliases took 62 ms. Replace uses of missing font family "Palantino" with one that exists to avoid this cost.
WARNING:vispy:Populating font family aliases took 62 ms. Replace uses of missing font family "Palantino" with one that exists to avoid this cost.
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices
INFO:cfclient.utils.input.inputreaders.pysdl2:Found 1 devices
INFO:cfclient.utils.input:Selected MUX: Normal
INFO:cfclient.ui.main:Role of PS4 Controller is Device
INFO:cfclient.utils.input.mux:Adding device PS4 Controller to MUX Normal
WARNING:cfclient.ui.main:Cannot find a Crazyradio Dongle
Cannot find a Crazyradio Dongle
INFO:cflib.drivers.cfusb:Looking for devices....
INFO:cflib.crtp.prrtdriver:Initialized PRRT driver.
INFO:cflib.crazyflie:Callback->Connection initialized[udp://192.168.43.42:2390]
ERROR:cflib.crazyflie:Couldn't load link driver: [Errno 56] Socket is already connected
Traceback (most recent call last):
File "/Users/vicio/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/cflib/crazyflie/__init__.py", line 231, in open_link
self.link = cflib.crtp.get_link_driver(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/vicio/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/cflib/crtp/__init__.py", line 99, in get_link_driver
instance.connect(uri, link_quality_callback, link_error_callback)
File "/Users/vicio/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/cflib/crtp/udpdriver.py", line 62, in connect
self.socket.sendto('\xFF\x01\x01\x01'.encode(), self.addr)
OSError: [Errno 56] Socket is already connected
INFO:cflib.crazyflie:Callback->Connected failed to [udp://192.168.43.42:2390]: Couldn't load link driver: [Errno 56] Socket is already connected
Traceback (most recent call last):
File "/Users/vicio/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/cflib/crazyflie/__init__.py", line 231, in open_link
self.link = cflib.crtp.get_link_driver(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/vicio/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/cflib/crtp/__init__.py", line 99, in get_link_driver
instance.connect(uri, link_quality_callback, link_error_callback)
File "/Users/vicio/.espressif/python_env/idf4.4_py3.11_env/lib/python3.11/site-packages/cflib/crtp/udpdriver.py", line 62, in connect
self.socket.sendto('\xFF\x01\x01\x01'.encode(), self.addr)
OSError: [Errno 56] Socket is already connected
INFO:cfclient.utils.config:Config file saved to [/Users/vicio/Library/Application Support/cfclient/config.json]
INFO:cflib.crazyflie:Closing link
INFO:cflib.crazyflie:Callback->Disconnected from [udp://192.168.43.42:2390]
cranberrysoft
Metadata
Metadata
Assignees
Labels
No labels