Re: [Flightgear-devel] Heading error calculation [brain exercise]

2004-05-02 Thread Jorge Van Hemelryck
On Sun, 2 May 2004 08:01:20 -0500 Jon Berndt wrote: Does anyone know of a simple algorithm to calculate the difference between the desired heading and the actual heading, where the angle is given in degrees from 0 to 260? The stipulations are that the result must be = 180. For example, you

RE: [Flightgear-devel] Heading error calculation [brain exercise]

2004-05-02 Thread Norman Vine
Jon Berndt writes: Does anyone know of a simple algorithm to calculate the difference between the desired heading and the actual heading, where the angle is given in degrees from 0 to 260? The stipulations are that the result must be = 180. For example, you can go from 60 to 340 degrees

RE: [Flightgear-devel] Heading error calculation [brain exercise]

2004-05-02 Thread Jon Berndt
Does anyone know of a simple algorithm to calculate the difference between the desired heading and the actual heading, where the angle is given in degrees from 0 to 260? The stipulations are that the result must be = 180. For example, you can go from 60 to 340 degrees