A robotic lawnmower system comprising a robotic lawnmower (100) and a signal generator (240) to which a cable (250, 260) is to be connected, the signal generator (240) being configured to transmit a signal (245) through the cable (250, 260). The robotic lawnmower (100) comprises: a sensor (170) configured to pick up magnetic fields generated by the signal (245) in the cable (250, 260) thereby receiving the signal (245) being transmitted and a controller (110). The controller (110) is configured to follow the cable (250, 260) at a distance by determining a received signal quality level and adapting the distance at which the robotic lawnmower (100) is following the cable at according to the determined signal quality level.