Antenna selection in a radar system based on multiple detected objects and multi-step planning