djitellopy library caused Exception (Not always)
2285 0 2022-7-3
Uploading and Loding Picture ...(0/1)
o(^-^)o
Stonez56
lvl.1

Taiwan
Offline

Hi,
I was able to control my Tello with djitellopy library for most of the time.
However, from time to time, I would get this error message below.

What could be the problem here?

Conditions:

  • Windows 10
  • Python 3.10
  • Both Tello App and Tello firmware has upgraded to latest version.
  • Battery is full
  • Tellos is right next to me (less than 1meter away)





  File "C:\Users\Stonez56\AppData\Local\Programs\Python\Python310\lib\site-packages\djitellopy\tello.py", line 48
486, in send_control_command
    self.raise_result_error(command, response)
  File "C:\Users\Stonez56\AppData\Local\Programs\Python\Python310\lib\site-packages\djitellopy\enforce_types.py",", line 54, in wrapper
    return func(*args, **kwargs)
  File "C:\Users\Stonez56\AppData\Local\Programs\Python\Python310\lib\site-packages\djitellopy\tello.py", line 52
528, in raise_result_error
    raise Exception("Command '{}' was unsuccessful for {} tries. Latest response:\t'{}'"
Exception: Command 'takeoff' was unsuccessful for 4 tries. Latest response:     'error'
PS C:\Users\Stonez56\python>

2022-7-3
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules