Quadcopter firmware