Closed JDeeth closed 5 months ago
Hi, I think I this was commented because I psi dataref gives us true north without doing any math. Hpath was used for the the autopilot which was implemented internaly, I have removed that and the unit just adds values for x-plane autopilot to follow. This code was developed for xp9 or earlier so some new datarefs were not available. What is the point of doing this math? Is it more accurate or is it fixing some issue?
Oh just saw the issue. OK.
Fixes #8
This is basically reinstating commented-out code. Not clear why it needed commenting out... hopefully not for a solid reason?
I've not tested this thoroughly but it's surely more correct than using aircraft heading (Psi) - if it misbehaves I'll investigate further!