Text this: Hopping peak height algorithm for a one legged robot hopping height control