Swapping MP HUD Altitude with ASL Instead of Relative

Hello,

Does anyone know how to replace the Mission Planner HUD altitude bug to display “ASL” altitude instead of “Relative”? I need to treat my aircraft operation as if it were a manned aircraft, using the HUD altitude display as the traditional MSL readout (ASL in the mission planner documentation). I have limited to no experience coding, but could probably figure it out in Visual Studio if given some proper direction.

With my limited understanding of the MP/Ardupilot back-end, the alt and altasl in the quick tab seem to have the same refresh rate, so I’m assuming they are being pulled from a similar telemetry set that could potentially be interchangeable on the HUD display given the proper code reference. Am I way off?

MP Version: 1.3.80

Thanks,

In FlightData.Designer.cs look for this line
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("alt", this.bindingSourceHud, "alt", true));
and replace with this
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("alt", this.bindingSourceHud, "altasl", true));

1 Like

Great, thank you so much!