Jean-Jacques Rousseau recognized a connection, at least in his own case, between cognition and locomotion:
I can only meditate when I am walking. When I stop, I cease to think; my mind only works with my legs.
— Jean-Jacques Rousseau in The Confessions (Harmondsworth, England: Penguin Books, 1953), 382.