Quadcopter code