Energy-optimal motion of semi-passively controlled one-link manipulator