Robot controls position of touch probe