Online pose correction of an industrial robot using an optical coordinate measure machine system