Pixhawk 2.1 HERE GPS Altitude Incorrect

Hello,
I’m currently using the non RTK version GPS, just HERE GPS with a Pixhawk 2.1 and seeing my altitude at 240+meters. Is there a way to fix this? Is this normal?

Thanks,
Ben

What should your altitude be?

I would assume 0 as always in my area. It also shows 240+ on the OSD.

You’re probably confusing actual altitude with relative altitude. Actual altitude is measured from sea level, relative is measured from the ground.

Try looking at your data logs in MissionPlanner and compare the altitudes shown in baroalt, gpsalt and pos/relalt.

I think you’ll find that the GPS altitude will show actual altitude which is where your issue lies. If so, update your OSD to the parameter which shows relative altitude.

HTH.

Matt,
Thanks…I believe this will fix what my issue on displaying alt on my OSD.

//#define USEBAROALTITUDE // Undefine this if you have a BARO to use BARO for FW altitude instead of GPS (requires controller with BARO sensor) ** Recommended **

Ben