Closed somBabu1996 closed 1 year ago
I'm not sure how this functionality (UDP connection) is supposed to work, or what the status of it is. Could you please describe more in detail the steps you do to get to the state you are in and also what your goal is
I had installed Cf client. Introduced esp-drone inside esp. now the ESP board generates hotspot to join, by using which i had tried to connect my mobile and its happened properly. but the cf client scan is not working and not connecting to the ESP device. and it shows 0 device connected. I just want to communicate cfclient with the esp-drone so that will check the parameters of crazyflie. Other details i have updated before. Please check it. @krichardsson
I'm not sure how this works really as it is not a use case that is supported by Bitcraze, As you are using an ESP drone, maybe you can some help in their forum?
INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices INFO:cflib.crazyflie:Callback->Connection initialized[udp://192.168.43.42] ERROR:cflib.crazyflie:Couldn't load link driver: [Errno 56] Socket is already connected
Traceback (most recent call last): File "/Users/somprakash/crtp/crazyflie-lib-python/cflib/crazyflie/init.py", line 222, in open_link self.link = cflib.crtp.get_link_driver( File "/Users/somprakash/crtp/crazyflie-lib-python/cflib/crtp/init.py", line 91, in get_link_driver instance.connect(uri, link_quality_callback, link_error_callback) File "/Users/somprakash/crtp/crazyflie-lib-python/cflib/crtp/udpdriver.py", line 71, in connect self.socket.sendto(str1,self.addr) OSError: [Errno 56] Socket is already connected
INFO:cflib.crazyflie:Callback->Connected failed to [udp://192.168.43.42]: Couldn't load link driver: [Errno 56] Socket is already connected
Traceback (most recent call last): File "/Users/somprakash/crtp/crazyflie-lib-python/cflib/crazyflie/init.py", line 222, in open_link self.link = cflib.crtp.get_link_driver( File "/Users/somprakash/crtp/crazyflie-lib-python/cflib/crtp/init.py", line 91, in get_link_driver instance.connect(uri, link_quality_callback, link_error_callback) File "/Users/somprakash/crtp/crazyflie-lib-python/cflib/crtp/udpdriver.py", line 71, in connect self.socket.sendto(str1,self.addr) OSError: [Errno 56] Socket is already connected
INFO:cflib.crazyflie:Closing link INFO:cflib.crazyflie:Callback->Disconnected from [udp://192.168.43.42] INFO:cfclient.ui.tabs.QualisysTab:Crazyflie disconnected from udp://192.168.43.42 INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices INFO:cfclient.utils.input.inputreaders.pysdl2:Looking for devices INFO:cfclient.utils.input.inputreaders.pysdl2:Found 0 devices
Any comments as a solution will be appreciated.