exercise_2/DJITelloPy-master/examples/simple.py

13 lines
166 B

from djitellopy import Tello
tello = Tello()
tello.connect()
tello.takeoff()
tello.move_left(100)
tello.rotate_clockwise(90)
tello.move_forward(100)
tello.land()