It actually does solve issue 1164 (which I started).
When one switches to the next waypoint, the active leg course and x-track-error relate to the leg between the previous and active waypoint of the flightplan (as it should in LEG mode). Previously the leg (-course and x-track-error) was formed between the active waypoint and the position of the aircraft at the moment of switching.

The other stuff I asked Dirk to add as it makes our extra500 (GPSS) AP design a lot easier.



Date: Mon, 30 Sep 2013 09:00:19 +0100
Subject: Re: [Flightgear-devel] GPS - merge request

On 30 Sep 2013, at 08:47, Dirk Dittmann <> wrote:

Improved the Cross track error according to the great circle.


And make the overflight sequence configurable for the aircraft. The default is 
the same.

/instrumentation/gps/config/over-flight-arm-angle-deg           90
/instrumentation/gps/config/over-flight-arm-distance-nm 1
/instrumentation/gps/config/over-flight-distance-nm             0

over-flight-distance-nm  : 
- distance to waypoint 
- overflight -> next waypoint

- distance to waypoint over-flight-distance-nm + over-flight-arm-distance-nm
- overflight arms the cone 

over-flight-arm-angle-deg  : 
- the cone left/right from LEG pointing on the waypoint
- when armed and the aircraft leafs the cone -> next waypoint. 

Great, although I do wonder if anyone will ever really adjust the cone angle. Doesn't do any harm though.

branche fix-issue1164 @ my clone

Who should I ask for merge ?

Me, only query is that the above don't really seem to relate to issue 1164, which is about initial behaviour of the GPS when entering leg mode away from the active leg.

Are you happy for me to pull from that branch to review, or would you rather send a patch, or make a merge request on Gitorious. All of those are fine with me, your choice.


------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register >
_______________________________________________ Flightgear-devel mailing list