Text this: Real-Time Trajectory Planning and Control for Constrained UAV Based on Differential Flatness