Text this: Trajectory optimisation inspired controller design of a low-cost bipedal robot