1
0
Fork 0

JSBSim change:

Reverse sense of rudder surface position, for consistency with
ailerons and FlightGear controls.
This commit is contained in:
david 2002-05-28 13:50:51 +00:00
parent 040c508aa8
commit 8cf573ae51

View file

@ -543,7 +543,7 @@ bool FGJSBsim::copy_from_JSBsim() {
elevator_pos_pct->setDoubleValue( FCS->GetDePos(ofNorm) ); elevator_pos_pct->setDoubleValue( FCS->GetDePos(ofNorm) );
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( -1*FCS->GetDrPos(ofNorm) );
flap_pos_pct->setDoubleValue( FCS->GetDfPos(ofNorm) ); flap_pos_pct->setDoubleValue( FCS->GetDfPos(ofNorm) );