David Megginson <[EMAIL PROTECTED]> said:

> On that point, I've tried your patch and it works, but the YASim FDM
> is then (inexplicably) frozen.  Is it working for anyone else?
> 
This is a bug that seems to be related to some sort of memory corruption. 
I've seen it off and on over the last couple of weeks when applying various
updates.    

Try clamping the delta time in the FGInterface::_calc_multiloop() as follows:

if (dt > 10 || dt < 0) {
  dt = 1;
}

Of course this doesn't correct the underlying problem,  but it probably isn't
a bad thing to have in there anyway.   What I do know about the problem is
that the delta time appears correct until we get inside this function.  Why it
changes, I don't know.

Best,

Jim

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

Reply via email to