Jim Wilson writes:
> 
> David Megginson said:
> 
> > Roy Vegard Ovesen wrote:
> > 
> > > The GPS instrument does this in the same way as you suggest (as do most 
> > > real gps devices), take a look at the gps.cxx source file to see the 
> > > details. I believe the actual formula can be found someplace in SimGear. 
> > > But if you are just looking for the true flight path the beforementioned 
> > > GPS instrument provides this. Take a look at /instruments/gps/... in the 
> > > propertytree.
> > 
> > Oh yeah, I'd forgotten that I'd written that module.
> > 
> 
> Any objection to my putting that on the bus in generic-electrical.xml?

I hope that you take into consideration that that is a *very* expensive 
function to call !

You might want to do a test to see how the its result varies from the
solutions that the FDM folks offered that are a direct assignment.

Even if you don't use the FDM solution I would at least monitor it
and only do the geodetic solution when there was 'enough' change
in the FDM method to warrant computing a new value.

Probably best to do a running average of the FDM value too so as
to 'smooth' it a little

Cheers

Norman

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

Reply via email to