Low-latency airborne collision detection and avoidance system for unmanned aircraft systems in a varying environment