dji-sdk / Tello-Python

This is a collection of python modules that interact with the Ryze Tello drone.
Other
1.34k stars 642 forks source link

Tello video - close.socket() / del() #67

Open okevino47 opened 4 years ago

okevino47 commented 4 years ago

Hello,

I am working on ubuntu 19.10 on tello in the tello_video repo.

i created a web api and a script that are linked together and when i click on a button on the web application that i have created my script will receive a request and will activate and launch the drone.

My problem is, this script is a while loop that check everytime if i have to activate the drone or not (button clicked or not) . when i try to activate the drone for the second time, i get an error saying that i do not close the socket so it is impossible.

I digged a lot in the code and i don't see how to figure out with that as i call correcty the "close()" function and "del" the class instance which must close the sockets (main socket and video socket).

I am not a senor programmer so maybe i do some noob mistakes but after many hours to look for solving this problem i do not find any solution.

I would be glad if someone could help here. Thanks

dji-dev commented 4 years ago

Dear Developer, Thank you for contacting DJI.

This question you can contact RYZE Tello's technical support: support.cn@ryzerobotics.com