A simple PD controller for robots with elastic joints