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.5. Turning around and around¶
How about rotating the drone clocwise
cw then counter-clockwise
5.9. Manual control¶
Can we manually control the drone?
YES, WE CAN!. Note the following.
up arrowflies forward
down arrowflies backward
left arrowflies left
right arrowflies right
qmakes the drone take off
wlands the drone
arotates the drone clockwise by 45 degrees
srotates 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!