Latest JSBSim changes from Tony Peden (should help slip/skid ball).
This commit is contained in:
parent
d01cb2769a
commit
7b01a143a1
1 changed files with 2 additions and 1 deletions
|
@ -149,13 +149,14 @@ bool FGAuxiliary::Run()
|
|||
vPilotAccel.InitMatrix();
|
||||
if( Translation->GetVt() > 1 ) {
|
||||
vToEyePt = Aircraft->GetXYZep() - MassBalance->GetXYZcg();
|
||||
|
||||
vToEyePt *= inchtoft;
|
||||
vPilotAccel = Aerodynamics->GetForces()
|
||||
+ Propulsion->GetForces()
|
||||
+ GroundReactions->GetForces();
|
||||
vPilotAccel /= MassBalance->GetMass();
|
||||
vPilotAccel += Rotation->GetPQRdot() * vToEyePt;
|
||||
vPilotAccel += Rotation->GetPQR() * (Rotation->GetPQR() * vToEyePt);
|
||||
//vPilotAccel(2)*=-1;
|
||||
}
|
||||
earthPosAngle += State->Getdt()*Inertial->omega();
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue