Autonomous collision avoidance is enhanced through a safety-aware perception algorithm that optimizes sensor-pointing direction using control barrier functions.