From 8b621f2b1ec0f3fe62f5877a520d3d912dde2785 Mon Sep 17 00:00:00 2001 From: tony Date: Thu, 21 Mar 2002 02:26:22 +0000 Subject: [PATCH] Fix for the flaps problem. --- src/FDM/JSBSim/JSBSim.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FDM/JSBSim/JSBSim.cxx b/src/FDM/JSBSim/JSBSim.cxx index 39686f17c..052183a4a 100644 --- a/src/FDM/JSBSim/JSBSim.cxx +++ b/src/FDM/JSBSim/JSBSim.cxx @@ -518,7 +518,7 @@ bool FGJSBsim::copy_from_JSBsim() { left_aileron_pos_pct->setDoubleValue( FCS->GetDaLPos(ofNorm) ); right_aileron_pos_pct->setDoubleValue( -1*FCS->GetDaLPos(ofNorm) ); rudder_pos_pct->setDoubleValue( FCS->GetDrPos(ofNorm) ); - flap_pos_pct->setDoubleValue( FCS->GetDfPos(ofNorm) ); + flap_pos_pct->setDoubleValue( FCS->GetDfPos(ofRad) ); return true;