I have written this very simple code:
from djitellopy import Tello
import time
tello=Tello
tello.takeoff() # works just fine!
time.sleep(2)
tello.land() # returns error!
If there is any help I would appreciate it greatly!
I have written this very simple code:
from djitellopy import Tello
import time
tello=Tello
tello.takeoff() # works just fine!
time.sleep(2)
tello.land() # returns error!
If there is any help I would appreciate it greatly!
Copyright © 2021 Jogjafile Inc.
i can see what your error is, on line 3 in your code,
look closely at the
tello=Tello
.. that needs to betello=Tello()
, so ur code becomes this:and that should work fine! enjoy!