From: david Date: Tue, 28 May 2002 13:50:51 +0000 (+0000) Subject: JSBSim change: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8cf573ae51faac93dacd9789488782aa3bb63efe;p=flightgear.git JSBSim change: Reverse sense of rudder surface position, for consistency with ailerons and FlightGear controls. --- diff --git a/src/FDM/JSBSim/JSBSim.cxx b/src/FDM/JSBSim/JSBSim.cxx index d2d9f5c74..b7b1c76d9 100644 --- a/src/FDM/JSBSim/JSBSim.cxx +++ b/src/FDM/JSBSim/JSBSim.cxx @@ -543,7 +543,7 @@ bool FGJSBsim::copy_from_JSBsim() { elevator_pos_pct->setDoubleValue( FCS->GetDePos(ofNorm) ); left_aileron_pos_pct->setDoubleValue( 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) );