}
// copy control positions into the JSBsim structure
- FDMExec.GetFCS()->SetDa( controls.get_aileron() );
+ FDMExec.GetFCS()->SetDa( controls.get_aileron() / 10.0 );
FDMExec.GetFCS()->SetDe( controls.get_elevator()
+ controls.get_elevator_trim() );
- FDMExec.GetFCS()->SetDr( controls.get_rudder() );
+ FDMExec.GetFCS()->SetDr( controls.get_rudder() / 10.0 );
FDMExec.GetFCS()->SetDf( 0.0 );
FDMExec.GetFCS()->SetDs( 0.0 );
FDMExec.GetFCS()->SetThrottle( FGControls::ALL_ENGINES,
- controls.get_throttle( 0 ) );
+ controls.get_throttle( 0 ) * 100.0 );
// FCS->SetBrake( controls.get_brake( 0 ) );
// Inform JSBsim of the local terrain altitude
Brake_pct = controls.get_brake( 0 );
// Inform LaRCsim of the local terrain altitude
- Runway_altitude = f.get_Runway_altitude();
+ Runway_altitude = f.get_Runway_altitude();
// old -- FGInterface_2_LaRCsim() not needed except for Init()
// translate FG to LaRCsim structure