autopilot written in c++ for a home-built quadcopter