Control DJI Tello drone with python
pip install tello-python
import tello
drone = tello.Tello()
import tello
drone = tello.Tello()
drone.takeoff()
drone.forward(100)
drone.cw(90)
drone.flip('r')
drone.streamon()
drone.land()
Required. The distance to fly forward in cm. Has to be between 20 and 500.
Required. The number of degrees to rotate. Has to be between 1 and 360.
For more commands, please refer to the methods and comments in the source code tello.py file