An autonomous mobile robot for weeding in medium period of rice cultivation