hanyazou / TelloPy

DJI Tello drone controller python package
Other
685 stars 293 forks source link

connect and disconnect to the drone in the same script #108

Open azizbelkhiria opened 1 year ago

azizbelkhiria commented 1 year ago

I am trying to reconnect to the drone without leaving the script but I get this error File "TelloControl.py", line 76, in __init__ self.drone = tellopy.Tello() File "/home/..../lib/python3.7/site-packages/tellopy/_internal/tello.py", line 101, in __init__ self.sock.bind(('', self.port)) OSError: [Errno 98] Address already in use

any suggestions on how to deal with this?