Hierarchical trajectory planning and distributed cooperative control for multi-UAV swarms in complex environments | Synapse