heclak / community-a4e-c

The Community Repo for A-4E-C and its Official Submods
590 stars 88 forks source link

Drift indicator in BDHI shows the wrong drift angle. #604

Open derbuur opened 1 year ago

derbuur commented 1 year ago

Version: A-4E-C v2.1.1 In the BDHI the small pointer should show the drift angle measured in AN/ASN-153 Radar Navigation Set (Doppler). The current implementation shows the drift angle relative to the big pointer, but in my understanding drift angle should be relative to the aircraft heading. You can change the behavior if you change in \Cockpit\Scripts\Nav\nav.lua the line 1974 from: bdhi_draw_needle1( (mh + asn41_track:get()) % 360 ) to: bdhi_draw_needle1( (asn41_track:get()) % 360 )

With this change it is possible to follow NATOPS procedure to compensate the drift angle. Quote: "Example: With the No. 1 pointer at the 12 o'clock position and No.2 pointer to the right of this pOSition, a right drift would be indicated. This would require a turn to the left to align the pointers. They would then be to the right of the 12 0 'clock position when aligned. "

Here are to pictures which shows the result after a code change described above. a4_drift a4_drift1