A method for the surface treatment of an article by means of a robotic device; the robotic device comprises a spraying head, which is designed to emit a jet of a covering substance for covering at least part of the surface of the article; a robotic arm, which is movable with at least six degrees of freedom and on which the spraying head is fitted; a control system, which comprises a storage unit and is designed to control the movement of the robotic arm so as to move the spraying head in space; a driving control assembly, which is designed to be operated by an operator so as to transfer movement indications for the robotic arm; the driving control assembly comprises a handling device; a sensor, which is connected to the handling device; and a processing system; the handling device is fitted on the robotic arm in the area of the spraying head; the handling device is connected to the robotic arm through said sensor, which is fitted on the robotic arm; the method comprises a learning step, during which the operator moves the spraying head by means of the driving control assembly and the movements made by the spraying head are stored in the storage unit; and a reproduction step, which takes place after the learning step and during which the control system operates the robotic arm so that the spraying head substantially repeats the movements stored by the storage unit; wherein during the learning step, the operator exerts a force and a torque (F c) upon the handling device in particular while grasping the handling device, the sensor detects a force and a torque (F s) applied to the handling device and the processing system provides movement indications for the robotic arm as a function of the items detected by the sensor; the method being characterized in that, during the learning step, an admittance control is varied as a function of the detected force and torque (F s); wherein, the inertia and damping parameters of the admittance control are varied as a function of the detected force and torque (F s). the driving control assembly comprises a handling device; a sensor, which is connected to the handling device; and a processing system; the handling device is fitted on the robotic arm in the area of the spraying head; the handling device is connected to the robotic arm through said sensor, which is fitted on the robotic arm; the method comprises a learning step, during which the operator moves the spraying head by means of the driving control assembly and the movements made by the spraying head are stored in the storage unit; and a reproduction step, which takes place after the learning step and during which the control system operates the robotic arm so that the spraying head substantially repeats the movements stored by the storage unit; wherein during the learning step, the operator exerts a force and a torque (F c) upon the handling device in particular while grasping the handling device, the sensor detects a force and a torque (F s) applied to the handling device and the processing system provides movement indications for the robotic arm as a function of the items detected by the sensor; the method being characterized in that, during the learning step, an admittance control is varied as a function of the detected force and torque (F s); wherein, the inertia and damping parameters of the admittance control are varied as a function of the detected force and torque (F s).