From 21931e320cc518f69c0b127500a6cc8f2fd02e01 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 3 Jan 2002 17:42:04 +0000 Subject: [PATCH] Update from JSBSim 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FDM/JSBSim.cxx b/src/FDM/JSBSim.cxx index 8fe89232d..0475d214d 100644 --- a/src/FDM/JSBSim.cxx +++ b/src/FDM/JSBSim.cxx @@ -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,