Where can I find the absolute altitude value at ardurover code


I’m trying to add a automatic arming feature using altitude to my rover. I need MSL altitude but i only find relative altitude in the ardurover code. i need help to find a function or variable which gives MSL altitude.