1
0
Fork 0

Anders GIDENSTAM: fix slip skid ball (merge from JSBSim/cvs)

JSB: "Fixed a problem with turn coordinator bounding while at rest on the runway"
This commit is contained in:
mfranz 2007-05-12 15:10:39 +00:00
parent 0a9d71ee51
commit baac43778e

View file

@ -225,7 +225,13 @@ bool FGAuxiliary::Run()
vPilotAccel += Propagate->GetPQRdot() * vToEyePt;
vPilotAccel += vPQR * (vPQR * vToEyePt);
} else {
vPilotAccel = Propagate->GetTl2b() * FGColumnVector3( 0.0, 0.0, Inertial->gravity() );
// The line below handles low velocity (and on-ground) cases, basically
// representing the opposite of the force that the landing gear would
// exert on the ground (which is just the total weight). This eliminates
// any jitter that could be introduced by the landing gear. Theoretically,
// this branch could be eliminated, with a penalty of having a short
// transient at startup (lasting only a fraction of a second).
vPilotAccel = Propagate->GetTl2b() * FGColumnVector3( 0.0, 0.0, -Inertial->gravity() );
}
vPilotAccelN = vPilotAccel/Inertial->gravity();