A Method for the state estimation of elastic joint robots by global position measurements