Hello,
I've spent my afternoon trying to find out how to convert the pressure altitude offset into the same unit result than the altitude (0x0570)
Im my .lua file, I have this :
lat, lon, alt, pitch, bank, hdgT = ipc.readStruct(0x0560,"3DD", "2SD", "1UD")
palt = ipc.readStruct(0x34B0, "2SD")
alt = alt * 3.28084 / (65536 * 65536)
palt = palt * 3.28084 / (65536 * 65536)
but the result does not match.
Also, I would like to know what offset to take and how to check when :
Engine 1 is "stabilized". I tried with offset 0894 but it seems that the result varies depending on the throttle. I was more looking for a kind of result indicating engine stabilized so I can start engine 2.
APU is available (at 100%) No tried yet, I ask before I spend another day to find a maybe easy answer to find here.
Thanks in advance for the help
Nicholas