What is robotics coding, and why a drone?
Every robot runs the same loop: read sensors, decide by the rule in the code, command the motors. A drone has to run that loop hundreds of times a second, which makes it one of the clearest robots for teaching sensors, control and debugging. Get the loop wrong and the drone doesn't make the move; get it right and the code flies in front of you.
| Typical wheeled robot kit | RobonHub CORE drone | |
|---|---|---|
| Movement | 2D on the floor | 3D: pitch, roll, yaw and altitude |
| Sensors | Usually distance and line sensors | IMU, barometer, compass; optional optical flow and ToF |
| Coding | Blocks or a board-specific language | Blockly to Python on the same platform |
| Control concepts | Sequences, simple conditions | Loops, event-driven code, altitude hold, PID logic |
| Computer vision | Mostly none | VISION kit adds a 2 MP camera: colour, object and marker tracking |
