dodger42 Posted July 29, 2006 Posted July 29, 2006 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? . . . Lockon Advanced Realism with Touch-Buddy
dodger42 Posted July 29, 2006 Author Posted July 29, 2006 Hmm 106.5 + 253.5 = 360... a back bearing possibly.. . . . Lockon Advanced Realism with Touch-Buddy
G3 Posted July 31, 2006 Posted July 31, 2006 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.
dodger42 Posted August 1, 2006 Author Posted August 1, 2006 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. . . . Lockon Advanced Realism with Touch-Buddy
Recommended Posts