Measuring the TCP (tool centre point)

If there is a measuring instrument for the direct recording of the TCP position, e.g.

this position can be transferred to the calculation algorithm together with the associated pose.