← Back to work
C++ · Autonomous Control · Embedded
const project = portfolio.autonomousDrone;

Autonomous Drone Controller

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

01

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.

02

GPS waypoint navigation

Predefined GPS waypoints gave the drone a route to follow while the software kept correcting its movement toward the next target.

03

IMU & stability

Motion and orientation data from the IMU were used to understand how the drone was moving and to maintain a stable flight state.

04

PID control

PID-style control logic was used for smooth corrections rather than aggressive on/off adjustments.

05

Failsafe thinking

The project included safety-oriented behaviour for situations where navigation data or the intended flight state could no longer be trusted.

06

What I learned

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 →