Hi,
Looking thru Robin Peel's database I notice that runway headings in the ILS
file are given as true headings as
I ILS KLAX 06L 108.50 ---- 082.92 33.952390 -118.399094 ...
I ILS KLAX 06R 111.70 ---- 082.92 33.950486 -118.398768 ...
I ILS KLAX 07L 111.10 ---- 082.93 33.940199 -118.376567 ...
or
I ILS KLAX 24R 108.50 ---- 262.92 33.94.................
where 082.93 is the runway heading.
In the nav code one finds
nav1_magvar = 0;
nav1_range = FG_ILS_DEFAULT_RANGE;
nav1_effective_range = nav1_range;
nav1_target_gs = ils.get_gsangle();
nav1_radial = ils.get_locheading();
which sets the inbound ILS course to true.
Am I mis-reading the data file? While you could fly the ILS with the CDI
misaligned it makes more sense to align the CDi course with the runway
heading as the code does, but I can't see where the mag variation is applied
to arrive at the mag runway heading.
The panel appears to show the correct mag heading. Can someone tell me where
the correction is applied?
Regards
John W.
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel