espressif / esp-drone

Mini Drone/Quadcopter Firmware for ESP32 and ESP32-S Series SoCs.
GNU General Public License v3.0
830 stars 242 forks source link

ESP32-Drone CFClient do not start #57

Closed acbramos closed 3 months ago

acbramos commented 12 months ago

This error avoid that cfclient to start: $ python3 ./bin/cfclient Traceback (most recent call last): File "/home/ramos/crazyflie-clients-python/./bin/cfclient", line 2, in from cfclient.gui import main File "/home/ramos/crazyflie-clients-python/src/cfclient/gui.py", line 37, in from quamash import QSelectorEventLoop File "/home/ramos/.local/lib/python3.10/site-packages/quamash/init.py", line 594, in from ._unix import _SelectorEventLoop File "/home/ramos/.local/lib/python3.10/site-packages/quamash/_unix.py", line 44, in class _SelectorMapping(collections.Mapping): AttributeError: module 'collections' has no attribute 'Mapping'

lovefool commented 3 months ago

Have you found any solution yet?

acbramos commented 3 months ago

No

Em qua., 31 de jul. de 2024, 12:08, Jay @.***> escreveu:

Have you found any solution yet?

— Reply to this email directly, view it on GitHub https://github.com/espressif/esp-drone/issues/57#issuecomment-2260751620, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADYHBIS6HWU6NPYZ3GYVZDZPD4YRAVCNFSM6AAAAABLYV7BDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRQG42TCNRSGA . You are receiving this because you authored the thread.Message ID: @.***>

lovefool commented 3 months ago

I could start the latest version of cfcllient from Bitcraze, but can't connect to my ESP-Drone. Uninstall several old packages using "pip uninstall xxxxxx" , then "pip install cfclient" to install the latest version. I hope your success.

https://www.bitcraze.io/documentation/repository/crazyflie-clients-python/master/installation/install/

I installed on both Windoe\ws11 and MacOS (Montrey), and could run GUI but no connection to ESP-Drone.

leeebo commented 3 months ago

@lovefool @acbramos The bug has already fixed, please update the latest code and install the new PC client refer https://github.com/qljz1993/crazyflie-clients-python.git