Disclosed is a robotic work tool (100) for use with at least one guiding wire (250; 260) adapted to conduct electric current to generate a magnetic field around the guiding wire. The robotic work tool has a sensing system (510) adapted to detect a strength of the magnetic field, a steering system (540), a controller (530) configured to control the steering system in response to output from the sensing system by means of a feedback control loop (532) so as to cause movement of the robotic work tool along the guiding wire. The controller is configured to determine a measure indicative of a distance between the robotic work tool and the guiding wire, and adjust at least one parameter of the feedback control loop in response to the determined distance measure.