Calculate the trajectory of a medical drug delivery drone, determining if it will clear obstacles and reach its target location.