In one embodiment, a method includes accessing sensor data generated by one or more sensors of the vehicle, determining that a first beam angle of a radar of the vehicle provides insufficient radar visibility of a current road condition according to one or more criteria based on the sensor data, determining an amount of adjustment needed to adjust the first beam angle of the radar, adjusting the first beam angle of the radar to a second beam angle based on the determined amount of adjustment, and detecting one or more objects based on the second beam angle of the radar.