Advanced control of high performance drives in robotics