I used to have two Ultrasonic lenses, the 17-40/4L and the 17-55/2.8. They both had distance scales which would move around as the lens focused.
My current Olympus lenses have a focus-by-wire manual mode, with a distance scale on the barrel. The camera also reports the focus distance in the EXIF. Are these just vague ballparks?
For the current Olympus ones, I think there's a broadly similar encoder on the ones with proper manual focus scales, and the pure fly-by-wire ones reset focus at connection so the camera can work it out.
There's a list of the EF lenses and which forms of distance information they provide here: https://web.archive.org/web/20130425064359/http://www.lenspl...
Once we did the per-lens calibration curve we didn’t have to do it again. I’m assuming the small differences are just manufacturing tolerance and they’re relying on the focus/phase sensors to get it the rest of the way.
Lens-to-lens it's definitely not consistent. Step 142 on two different lenses will have a different focal depth. We calibrate each lens ourselves (thankfully you can read the serial number through the EF mount) and then still have to do closed-loop image-based sharpness estimation to guarantee that things are as good as we can get.