A general locomotion control framework for multi-legged locomotors. (1st July 2022)