Terrain AGL not match with Tiff terrain layer

Hi everyone,

We have some issues with AGL values in our auto missions.

At the moment we use missions in absolute system waypoints.

In the ground station side, we use Mission Planner with a precise geoTiff layer of our flight zones

The issue is, the AGL values can read througth mission planner not match with the real word, and cause some fear to the pilots, they believe that the drone flies lower than target.

we read a very low AGL altitudes, about 30m lower than real flight.

our question is…

in arducopter code, what its the source of the terrain level (TER_ALT value in MP telemetry data)???

our geotiff layer have good terrain values and MP looks like dont use them.

even the SRTM values of standard mission planner terrain data are very good.

what can be the cause of bad mission planner terrain altitude readings?