Jump to content

Recommended Posts

Posted

I have my Mig29 flying along at 254 degrees on the compass. My LUA export which is exporting each frame to ensure its current data:

 

local HSI = LoGetControlPanel_HSI()

 

io.write(string.format("ALT = %.0f, IAS = %.0f, ADF = %.0f RMI = %.0f, Compass = %.0f\n", altBar, IAS, 57.3*HSI.ADF, 57.3*HSI.RMI, 57.3*HSI.Compass))

 

The compass value is coming back as: 106.5

 

Anybody shed some light on this?

Posted
Hmm 106.5 + 253.5 = 360... a back bearing possibly..

 

Dodger42, if this is totally useless please disreguard.

transposed it reads 106.5 - 360 = -253.5

 

if thats the bearing info you desire, is it possible to make it subtract 360 in the equation th get your answer.

Posted

Actually strangely enough it turns out that the following is true:

 

HDG=360-(57.3*HSI.Compass)

 

I also found anomolies with the LUA exports for IAS. For example when travelling at 970kmh IAS (mig29 HUD), my LUA export said I was doing 271knots. When doing 800 on the HUD, LUA said 224knots.

 

Fortunately the difference is a constant division, so I got it working, but its still very very strange. I cant figure out whether if in my current tired state I am missing something blatantly obvious.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...