A method for an industrial robot to increase accuracy in movements of the
robot. A first path is formed by bringing a tool supported by the robot
to adopt a plurality of generated positions. A plurality of observed
positions of the tool moving along the first path are determined. A
second path is formed of the determined tool positions. A correction is
determined by a path deviation between geometrically determined positions
in the first path and the second path.