Skip to content

OSError: [Errno 56] Socket is already connected #110

@ShawyanLee

Description

@ShawyanLee

使用cfclient连接drone时:

INFO:cflib.crazyflie:Callback->Connected failed to [udp://192.168.43.42:2390]: Couldn't load link driver: [Errno 56] Socket is already connected

pip3/lib/python3.13/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

已根据https://github.com/espressif/esp-drone/issues/33重新安装cfclient和cflib
esp-idf版本:release v5.0
MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions