Skip to content
UAVProg
Blocks

Blocks

Blocks

The visual editor — the blocks a program is built from, and the Python they write for you.

Blocks is the editor students actually work in. A program is a pile of coloured blocks that snap together like puzzle pieces: pick them out of the toolbox, drag them into place, press Run, and the aircraft does what the pile says.

There is nothing to type, so there is nothing to mistype. A student who has never programmed can have a drone in the air in about a minute, and a class of thirty is not thirty different spelling mistakes.

The editor also writes Python as it goes, and shows it on request. That is not decoration and it is not the way in. It is the bridge out: the blocks come first, the Python is what they turned into, and by the time a student starts reading it they already know what it says because they built it.

Start with Your first program if you have never opened the editor. Basics then covers the drone’s own blocks and the handful of things that go wrong with them; Programming covers the standard categories — loops, decisions, variables — with a drone in every example rather than an abstract one; Reference is for looking things up once you know what you are looking for.