Learning Multiple Gaits within Latent Space for Quadruped Robots