1
0
Fork 0

Fix for the flaps problem.

This commit is contained in:
tony 2002-03-21 02:26:22 +00:00
parent 86e5f091bc
commit 8b621f2b1e

View file

@ -518,7 +518,7 @@ bool FGJSBsim::copy_from_JSBsim() {
left_aileron_pos_pct->setDoubleValue( FCS->GetDaLPos(ofNorm) ); left_aileron_pos_pct->setDoubleValue( FCS->GetDaLPos(ofNorm) );
right_aileron_pos_pct->setDoubleValue( -1*FCS->GetDaLPos(ofNorm) ); right_aileron_pos_pct->setDoubleValue( -1*FCS->GetDaLPos(ofNorm) );
rudder_pos_pct->setDoubleValue( FCS->GetDrPos(ofNorm) ); rudder_pos_pct->setDoubleValue( FCS->GetDrPos(ofNorm) );
flap_pos_pct->setDoubleValue( FCS->GetDfPos(ofNorm) ); flap_pos_pct->setDoubleValue( FCS->GetDfPos(ofRad) );
return true; return true;