Trajectories and resource management of flying base stations for C-V2X