Chapter 22 / Case Study: Robot Control: Swinging Like a Pendulum