A robotic work tool comprising a motor for driving at least one wheel, an inclination sensor and a controller for controlling the operation of the robotic work tool, the controller being configured to: receive a signal indicating a collision; determine if the signal indicating a collision is above a collision threshold level and, if so, determine that a collision has been detected, the robotic work tool being characterized in that the controller is further configured to: receive an indication of an inclination; and to adapt the collision threshold accordingly based on said indication of an inclination.