]> git.mxchange.org Git - flightgear.git/commitdiff
Latest JSBSim changes from Tony Peden (should help slip/skid ball).
authordavid <david>
Wed, 6 Feb 2002 16:52:34 +0000 (16:52 +0000)
committerdavid <david>
Wed, 6 Feb 2002 16:52:34 +0000 (16:52 +0000)
src/FDM/JSBSim/FGAuxiliary.cpp

index 84232e89b14ae52b2114d6976a70add99bf91674..fd8e65a3fd7606090fad74487a4f34ca72fd3981 100644 (file)
@@ -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;