Kinematic study of the weeding robot