You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tello_modules/tast.py

10 lines
300 B

from easytello import tello
drone = tello.Tello()
drone.takeoff() #Команда взлета
for i in range(12):
drone.forward(30) #Лететь вперед на 30 см
drone.cw(90) #Повернутся на 90 градусов по часовой
drone.land()