pendulum and dmp