Convert error in rangefinder