← All work

Drone team

2024 - present

The drone team holding their trophy at the NJROTC National awards presentation at the U.S. Naval Academy.
NJROTC National champions at the U.S. Naval Academy.

As assistant lead and head coder for Troy's NJROTC drone program, I write autonomous-flight code and help run practices and competitions for eight teams with more than 45 members. My team has won four regional overall championships and NJROTC National, and I have competed at nationals twice. I also hold an FAA Part 107 remote pilot certificate.

Colored gates, targets and field boundaries on the drone competition course at nationals in Mississippi.
Competition course at nationals in Mississippi.

In autonomous flight, our drone has to follow a programmed route through the course, including changes in height to pass obstacles. I work on the Python code for those routes and the functions they share. A movement command doesn't tell us exactly how far the drone will travel. Our calibration code sends it in one direction for a set time, then asks us to enter how far it went past or stopped short of the target. It uses that measurement to adjust the command power for that direction. The factors are saved, so we can use them in different missions instead of adjusting every movement separately.

The CoDrone EDU's sensor readings have required repeated revisions to my height-estimation code. I tried analyzing samples and applying statistical filters to remove outliers and average the readings.

I am experimenting with a Kalman filter, which, instead of only comparing sensor readings with one another, uses a predictive model to estimate height from the drone's motion, then updates that prediction with sensor readings according to the uncertainty in both.

My partner and I continue developing the autonomous-flight code. My work has included flight control and path planning, while my partner has worked with the barometer and gyroscope readings.

Students learning coding with laptops and small drones at a Drones4Kids workshop.
Teaching students to program drones during a workshop.

I have trained about twenty new coders over two years. I write documentation and put together practice materials on programming and drone mechanics. During practice we test their flight code on the drones, and I help them debug it.