Text this: A Centralized Algorithm with Collision Avoidance for Trajectory Planning in Preflight Stage