GPS position compensation


I am new on this forum so hello everybody.

I would like to understand the GPS positionning and the GPS position compensation on the UAV.

I looked in the code but I don’t find where the position of the GPS is include to avoid mispositionning of the UAV.

Can someone tell me where this calculation is made?

Best regard.