Flight control loop
The controller continuously compared the requested flight state with live sensor input and applied corrections instead of relying on one-off commands.
Teaching a drone to fly without constant manual control.
I built autonomous flight-control software in C++ that used live GPS and IMU sensor data to keep a drone stable and navigate between predefined waypoints. Rather than commanding every movement myself, I could give the system a destination and let the control loop continuously correct its position, heading and altitude.
// Project notes
The controller continuously compared the requested flight state with live sensor input and applied corrections instead of relying on one-off commands.
Predefined GPS waypoints gave the drone a route to follow while the software kept correcting its movement toward the next target.
Motion and orientation data from the IMU were used to understand how the drone was moving and to maintain a stable flight state.
PID-style control logic was used for smooth corrections rather than aggressive on/off adjustments.
The project included safety-oriented behaviour for situations where navigation data or the intended flight state could no longer be trusted.
It pushed me beyond web software into real-time C++, sensor-driven control and the challenge of writing code that directly affects moving hardware.
// Continue exploring
View all work →