1
0
Fork 0

Norman Vine:

This patch finally reenables the AutoPilot gain adjuster.
This commit is contained in:
curt 2002-12-17 19:57:49 +00:00
parent 22d94b8273
commit a857322d9c

View file

@ -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: