UAV code for the quadcopter