A robotic system for use in agriculture includes at least one tool-holding arm to hold an agricultural tool and capable of being controlled to enable the agricultural tool to be raised or lowered, a sensor for measuring the height of crops, and a computer to determine a set value for controlling the at least one tool-holding arm on the basis of measurements taken by the sensor for measuring the crop height. The tool-holding arm is connected to a connection member such that it can be mounted on a control arm provided on an agricultural vehicle. The computer can determine a set value for controlling the control arm to enable the tool-holding arm to be raised or lowered on the basis of measurements taken by the sensor for measuring the crop height.