Quaternion based geometric control of Quadrotor UAV