These are the sort of sensors that are on surface vessels https://www.thedrive.com/the-war-zone/30057/u-s-warships-hav...
These systems are powerful and precise enough to be used for fine grained targeting, in fact in many cases the guns of the ship and the CIWS systems will be guided with electro optical sensors rather than radar.
Radar picks things up, the ElOp system then interrogates the target, ranges it with with a laser which provides much higher precision than radar range finding and if need be guns go brrrttt…