Design of high-performance legged robots: A case study on a hopping and balancing robot