Summary To navigate through the world, animals must stabilize their path against disturbances and change direction to avoid obstacles and to search for resources [1,2]. Locomotion is thus guided by sensory cues, but also depends on intrinsic processes, such as motivation and physiological state. …