The same way as WW1 pilots who didn't have radars, lidars...In those primitive days, they had to actually look for the obstacles with their bare eyes without instruments.
In the old days, those robotic vacuum cleaners had to actually collide with an obstacle to sense that there's actually an...