On Wed, 30 May 2007 22:36:57 -0400
"Ampere K. Hardraade" <[EMAIL PROTECTED]> wrote:

> 
> If I were to build an instrument on an actual aircraft for measuring ground 
> speed, I would use an accelerometer and integrate its output.
> 
> So, following this concept, you could implement this in Nasal by using the 
> following algorithm:
> 1) implement a data type for holding the velocity and simulation-time for the 
> current frame.  Then, push the instance of the data type into a queue every 
> frame.  (The queue can be found here 
> http://cvs.flightgear.org/cgi-bin/viewvc/viewvc.cgi/data/Aircraft/A380/Systems/FDX/Switch/queue.nas?revision=1.1&view=markup)
> 
> 2) Go through the queue and dequeue instances that are X seconds old.  Then, 
> calculate the delta_t between two instances and multiple the value by the 
> acceleration in one of the instances.
> 
> 3) Summing up all the results in step 2 and dividing the result by X should 
> give you the ground speed.
> 
> I hope this helps. :D
> 
> 
> 
> Ampere

Thanks Ampere , thats another way to go ....
Its just that it is calculated in gps / route-manager ... it seems to be re 
written several times , so it would be nice to have a single usable property to 
work with .... at least thats my current line of thinking .... but I may give 
up and go the Nasal route , if this doesn't work ...
I'll keep your method in mind :) 
Cheers,
Syd

-- 
syd & sandy <[EMAIL PROTECTED]>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to