Robot control by using only joint position measurements