Kinematics module is built for a four-axis welding machine.
Four-axis off-line trajectory generation algorithm is proposed.
Four-axis on-line contour error estimation algorithm is proposed.
Experiment results show that the designed trajectory is tracked continuously and steadily.
Contouring errors are estimated with high accuracy and reduced by 50% after implementing on-line compensation.