Computed torque method and H-compensation