5. Scratch Programming
Here are some very basic programs you may try for yourself to start drone programming with Scratch and the Tello!
5.1. Hello, World!
Every programming attempt needs a Hello, world!
example. This program simply lifts up the drone and tells it to land again.
5.2. Going up and down
This program sends the drone up and then down.
5.3. Left or right?
This program makes the drone fly left then right.
5.4. Forward, then backward
This program flies the drone forward then backward.
5.5. Turning around and around
How about rotating the drone clocwise cw
then counter-clockwise ccw
?
5.6. Simple flight
Simple flying.
5.7. Flip meow
Flip and meow!
5.8. Flipping out
Can we make the drone flip out?
5.9. Manual control
Can we manually control the drone? YES, WE CAN!
. Note the following.
up arrow
flies forwarddown arrow
flies backwardleft arrow
flies leftright arrow
flies rightq
makes the drone take offw
lands the dronea
rotates the drone clockwise by 45 degreess
rotates the drone counter-clockwise by 45 degrees
5.10. Spicy manual control
Let’s spice it up with manual controls! Sounds + motion with the cat!
5.11. Square
Too square!
5.12. Square flips
A square with flips!
5.13. Spaceship
A UFO spaceship?