Norman Vine:
This patch finally reenables the AutoPilot gain adjuster.
This commit is contained in:
parent
22d94b8273
commit
a857322d9c
1 changed files with 63 additions and 48 deletions
|
@ -231,15 +231,30 @@ public:
|
|||
void update_old_control_values();
|
||||
|
||||
// accessors
|
||||
inline double get_MaxRoll() const { return MaxRoll; }
|
||||
inline void set_MaxRoll( double val ) { MaxRoll = val; }
|
||||
inline double get_RollOut() const { return RollOut; }
|
||||
inline void set_RollOut( double val ) { RollOut = val; }
|
||||
|
||||
inline double get_MaxAileron() const { return MaxAileron; }
|
||||
inline void set_MaxAileron( double val ) { MaxAileron = val; }
|
||||
inline double get_RollOutSmooth() const { return RollOutSmooth; }
|
||||
inline void set_RollOutSmooth( double val ) { RollOutSmooth = val; }
|
||||
inline double get_MaxRoll() {
|
||||
return fgGetFloat( "/autopilot/config/max-roll-deg" );
|
||||
}
|
||||
inline double get_RollOut() {
|
||||
return fgGetFloat( "/autopilot/config/roll-out-deg" );
|
||||
}
|
||||
inline double get_MaxAileron() {
|
||||
return fgGetFloat( "/autopilot/config/max-aileron" );
|
||||
}
|
||||
inline double get_RollOutSmooth() {
|
||||
return fgGetFloat( "/autopilot/config/roll-out-smooth-deg" );
|
||||
}
|
||||
inline void set_MaxRoll( double val ) {
|
||||
fgSetFloat( "/autopilot/config/max-roll-deg", val );
|
||||
}
|
||||
inline void set_RollOut( double val ) {
|
||||
fgSetFloat( "/autopilot/config/roll-out-deg", val );
|
||||
}
|
||||
inline void set_MaxAileron( double val ) {
|
||||
fgSetFloat( "/autopilot/config/max-aileron", val );
|
||||
}
|
||||
inline void set_RollOutSmooth( double val ) {
|
||||
fgSetFloat( "/autopilot/config/roll-out-smooth-deg", val );
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue