On 02/22/2007 01:27 AM, John wrote:
> 
> Modern avionics and air data computers provide an instantaneous vertical 
> velocity and altimeter.

Yes.

> Is there a property/variable in flightgear that does not contain the lag 
> present in simple baro systems?  

Yes.

> I'm under the impresssion that the 
> property called "environment/pressure-inhg[0]" has a lag computed into 
> the final value. Is that correct or is that the "instantaneous" value or 
> pressure level the aircraft is at and what I'm looking for?

Close.

environment/pressure is (and always has been) the "real" pressure.
It is instantaneous.

The trick is that altimeters and suchlike are not (and should not be)
connected directly to environment/pressure.  They are connected to
/systems/static/pressure-inhg ... and *that* has an unrealistically
huge lag built into it.   I would argue that there should be "some"
lag, just not nearly so much.

Solving this problem is easy:
   1a) Grab the c++ code for my new altimetry and barometry module:
       http://www.av8n.com/fly/fgfs/atmo.diff
   1b) Apply the patch and recompile.

       This fixes it so that the static system and alimter(s) have lag
       times that are are configurable (no longer just compiled in).

   2) Edit or patch your .xml files to configure the <tau> values for
    your static system *and* your altimeter(s).  Apply this patch
      http://www.av8n.com/fly/fgfs/inst.diff
    or at least look at it to see how things are done.

    Decreasing the static-system lag from 1 (the previous compiled-in
    value) to .1 or even .2 makes things look instantaneous or nearly
    so.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to