Hmmm, The bigger airports tend to use the same frequency for each end
of their runways.  So this change will probably break half the
approaches at the major airports (KLAX, KMSP, KORD, KDFW, etc.)

I made a change to return the matching station that points most
directly at us.  This should be the best of both worlds and reasonable
match what happens in the real world.

Regards,

Curt.


David Megginson writes:
> Update of /var/cvs/FlightGear-0.7/FlightGear/src/Navaids
> In directory seneca:/tmp/cvs-serv12937
> 
> Modified Files:
>       ilslist.cxx 
> Log Message:
> This module was filtering out all stations with localizer offset
> >90deg, even though src/Cockpit/radiostack.cxx has code to deal with
> those; as a result, no backcourses were getting through.
> 
> This fix allows the common case of backcourses to work again, but
> breaks the uncommon case of a runway using the same frequency for two
> separate localizers.  That special case will have to be detected
> somehow.  Still, this fixes more approaches than it breaks.
> 
> 
> Index: ilslist.cxx
> ===================================================================
> RCS file: /var/cvs/FlightGear-0.7/FlightGear/src/Navaids/ilslist.cxx,v
> retrieving revision 1.19
> retrieving revision 1.20
> diff -C2 -r1.19 -r1.20
> *** ilslist.cxx       30 Mar 2002 11:51:42 -0000      1.19
> --- ilslist.cxx       15 Apr 2002 13:28:11 -0000      1.20
> ***************
> *** 156,159 ****
> --- 156,162 ----
>                 * 2 * FG_ILS_DEFAULT_RANGE * SG_NM_TO_METER) ) {
>   
> +         *ils = *current;
> +         return true;
> + #if 0
>               // Get our bearing from this station.
>               double reciprocal_bearing, dummy;
> ***************
> *** 176,179 ****
> --- 179,183 ----
>                   return true;
>               }
> + #endif
>       }
>       }
> 
> 
> _______________________________________________
> Flightgear-cvslogs mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-cvslogs

-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to