A robot system comprises a base (2), a robot arm (1) connected to the base, a camera (10), at least one objective lens in the camera (10) being movable with the robot arm (1), and a screen (16). A control unit (15) is configured to detect a change in the distance between an object (21) detected by the camera (10) and the objective lens, and to vary the zoom factor of a zoom function of the camera (10) according to the change in distance.