]> git.mxchange.org Git - flightgear.git/commitdiff
Update from JSBSim
authordavid <david>
Thu, 3 Jan 2002 17:42:04 +0000 (17:42 +0000)
committerdavid <david>
Thu, 3 Jan 2002 17:42:04 +0000 (17:42 +0000)
Changed _set_Accels_Pilot_Body to use FGAuxiliary::GetNpilot instead
of FGAuxiliary::GetPilotAccel.  It looks like a similar change was
started but never finished, and there are artifacts still lingering.
With this change, the slip/skid ball now works reasonably on the C172
when in motion, but not at rest (that will have to wait for fixes to
the gear code).

src/FDM/JSBSim.cxx

index 8fe89232d3aabf28f79938993780bd4a2f44c051..0475d214d0313aec86960b0e3c8a490ddb118676 100644 (file)
@@ -382,9 +382,9 @@ bool FGJSBsim::copy_from_JSBsim() {
                             Aircraft->GetNcg()(2),
                             Aircraft->GetNcg()(3) );
     
-    _set_Accels_Pilot_Body( Auxiliary->GetPilotAccel()(1),
-                            Auxiliary->GetPilotAccel()(2),
-                            Auxiliary->GetPilotAccel()(3) );
+    _set_Accels_Pilot_Body( Auxiliary->GetNpilot()(1),
+                            Auxiliary->GetNpilot()(2),
+                            Auxiliary->GetNpilot()(3) );
 
    // _set_Accels_Pilot_Body_N( Auxiliary->GetPilotAccel()(1)/32.1739,
    //                           Auxiliary->GetNpilot(2)/32.1739,