On Wed, 2002-02-13 at 14:59, David Megginson wrote:
> Jim Wilson writes:
> 
>  > Hmmm...that does work,  but I'm talking about in flight after starting on the
>  > ground.  Using it while in flight seems to put the plane on the ground
>  > instantly   (throws an exception or something).
> 
> Interesting.  I have no objection to removing the binding completely,
> but it is showing up a more serious problem with JSBSim's ground
> trimming (it tries to trim to the ground on reset even when the plane
> is already in flight).

The way its set up right now, it should trim in-air if the speed is
above 10 knots.
>From FGJSBSim::do_trim():
if(fgic->GetVcalibratedKtsIC() < 10 ) {
            fgic->SetVcalibratedKtsIC(0.0);
            fgtrim=new FGTrim(fdmex,fgic,tGround);
        } else {
            fgtrim=new FGTrim(fdmex,fgic,tLongitudinal);
        }

If there's a more reliable way to figure out that we want to 
be on the ground (aside from a similar hack with altitude)
I'll be happy to change it.


> 
> 
> All the best,
> 
> 
> David
> 
> -- 
> David Megginson
> [EMAIL PROTECTED]
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 
-- 
Tony Peden
[EMAIL PROTECTED]
We all know Linux is great ... it does infinite loops in 5 seconds. 
-- attributed to Linus Torvalds

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

Reply via email to