On the closed-loop control of an elastic industrial robot