I get sat count, hdop and gps fix status as reported by mission planner, but altitude is off.
I'm checking alt and altasl in mission planner, this two values differ as long as there is no gps fix.
Once I get a fix I see in mission planner alt and altasl matching but the value unpacked from telemetry frame is different, what is the gps altitude value that I should compare to in mission planner?
If I unpack the home frame 0x5004 once I get a gps fix the home altitude is exactly as reported by alt and altasl in mission planner, I simply have no idea how to validate what I see.
In the home frame I also have a problem in the home angle which is always unpacked at 0
homeDist = bit32.extract(VALUE,2,10) * (10^bit32.extract(VALUE,0,2))
homeAlt = bit32.extract(VALUE,14,10) * (10^bit32.extract(VALUE,12,2)) * 0.1
homeAngle = bit32.extract(VALUE, 25, 7) * 3