A system for calibrating a robot used for inspecting a workpiece to
maintain the accuracy of the robot during inspection of workpieces on a
production basis, the system including means for storing a mathematical
model of the robot, means for measuring the position of a target and then
calibrating the robot based upon input from the mathematical model and the
position of the target.