Fix wrong throttle-position on init (trim)
This commit is contained in:
parent
a1acd92a1c
commit
5ec361ae06
1 changed files with 2 additions and 2 deletions
|
@ -1217,8 +1217,8 @@ void FGJSBsim::do_trim(void)
|
|||
|
||||
globals->get_controls()->set_elevator_trim(FCS->GetPitchTrimCmd());
|
||||
globals->get_controls()->set_elevator(FCS->GetDeCmd());
|
||||
globals->get_controls()->set_throttle(FGControls::ALL_ENGINES,
|
||||
FCS->GetThrottleCmd(0));
|
||||
for( unsigned i = 0; i < Propulsion->GetNumEngines(); i++ )
|
||||
globals->get_controls()->set_throttle(i, FCS->GetThrottleCmd(i));
|
||||
|
||||
globals->get_controls()->set_aileron(FCS->GetDaCmd());
|
||||
globals->get_controls()->set_rudder( FCS->GetDrCmd());
|
||||
|
|
Loading…
Add table
Reference in a new issue