Introduction #
As our MIT BeaverWorks Summer Insitute final project in 2021, Nandini Bezwada, Michelle Wang, and I programmed drones to fly through colored hoops autonomously. Our project won the best final project award.
OpenCV + PID #
We used OpenCV’s solvePnP function to project 2D pixels into 3 dimensions. The drone positions itself using four PID controllers for x, y, z, and yaw.
Debugger #
The drone records footage of its flights so that we can replay what it saw before crashes.
Video #
For more details, see our presentation video: