4. Code Blocks

There are 12 Tello code blocks that you may use. They are described below.

4.1. Take off and landing

_images/takeoff.png

Instructs the drone to take off (lift up vertically).

_images/land.png

Instructs the drone to land (come down vertically).

4.2. Flying up and down

_images/fly-up-with-distance.png

Instructs the drone to fly up.

_images/fly-down-with-distance.png

Instructs the drone to fly down.

4.3. Flying left and right

_images/fly-left-with-distance.png

Instructs the drone to fly left.

_images/fly-right-with-distance.png

Instructs the drone to fly right.

4.4. Flying forward and backward

_images/fly-forward-with-distance.png

Instructs the drone to fly forward.

_images/fly-back-with-distance.png

Instructs the drone to fly backward.

4.5. Rotating

_images/rotate-cw-with-angle.png

Instructs the drone to rotate clockwise.

_images/rotate-ccw-with-angle.png

Instructs the drone to rotate counter-clockwise.

4.6. Miscellaneous

_images/flip-with-duration.png

Instructs the drone to flip.

_images/set-speed.png

Sets the speed of the drone motors.