Hi
as far as I know you can set the height sensors via EKF2_HGT_MODE.
That is the setting for the EKF2.
Depending on your setup you might be able to use any of the options.
EKF2_HGT_MODE (INT32) Determines the primary source of height data used by the EKF Comment: The range sensor option should only be used when for operation over a flat surface as the local NED origin will move up and down with ground level.