“An adaptive, self-organizing dynamical system for hierarchical control of bio-inspired locomotion”