Jon's updates to adjust control gains.
This commit is contained in:
parent
057fa8d37e
commit
a5e9fd1358
2 changed files with 5 additions and 5 deletions
|
@ -112,10 +112,10 @@ int fgJSBsimUpdate(FGInterface& f, int multiloop) {
|
|||
}
|
||||
|
||||
// copy control positions into the JSBsim structure
|
||||
FDMExec.GetFCS()->SetDa( controls.get_aileron() / 10.0 );
|
||||
FDMExec.GetFCS()->SetDa( controls.get_aileron());
|
||||
FDMExec.GetFCS()->SetDe( controls.get_elevator()
|
||||
+ controls.get_elevator_trim() );
|
||||
FDMExec.GetFCS()->SetDr( controls.get_rudder() / 10.0 );
|
||||
FDMExec.GetFCS()->SetDr( controls.get_rudder());
|
||||
FDMExec.GetFCS()->SetDf( 0.0 );
|
||||
FDMExec.GetFCS()->SetDs( 0.0 );
|
||||
FDMExec.GetFCS()->SetThrottle( FGControls::ALL_ENGINES,
|
||||
|
|
|
@ -61,9 +61,9 @@ public:
|
|||
inline float GetDs(void) {return Ds;}
|
||||
inline float GetThrottle(int ii) {return Throttle[ii];}
|
||||
|
||||
inline void SetDa(float tt) {Da = tt;}
|
||||
inline void SetDe(float tt) {De = tt;}
|
||||
inline void SetDr(float tt) {Dr = tt;}
|
||||
inline void SetDa(float tt) {Da = tt*0.17;}
|
||||
inline void SetDe(float tt) {De = tt*0.60;}
|
||||
inline void SetDr(float tt) {Dr = tt*1.09;}
|
||||
inline void SetDf(float tt) {Df = tt;}
|
||||
inline void SetDs(float tt) {Ds = tt;}
|
||||
void SetThrottle(int ii, float tt);
|
||||
|
|
Loading…
Reference in a new issue