The robot errors gathered by pose measurements can be minimized by numerical optimization.
For solving the kinematical optimization problems least-squares descent methods are convenient, e.g. a modified quasi-Newton method.