Code for a quadcopter.