FlightGear next
|
Data storage for aircraft performance data. More...
#include <performancedata.hxx>
Public Member Functions | |
PerformanceData () | |
PerformanceData (const PerformanceData *clone) | |
void | initFromProps (SGPropertyNode *props) |
virtual | ~PerformanceData ()=default |
double | actualSpeed (const FGAIAircraft *ac, double tgt_speed, double dt, bool needMaxBrake) |
double | actualBankAngle (const FGAIAircraft *ac, double tgt_roll, double dt) |
double | actualPitch (const FGAIAircraft *ac, double tgt_pitch, double dt) |
double | actualHeading (const FGAIAircraft *ac, double tgt_heading, double dt) |
double | actualAltitude (const FGAIAircraft *ac, double tgt_altitude, double dt) |
double | actualVerticalSpeed (const FGAIAircraft *ac, double tgt_vs, double dt) |
bool | gearExtensible (const FGAIAircraft *ac) |
double | climbRate () const |
double | descentRate () const |
double | vRotate () const |
double | maximumBankAngle () const |
double | acceleration () const |
double | deceleration () const |
double | brakeDeceleration () const |
double | vTaxi () const |
double | vTakeoff () const |
double | vClimb () const |
double | vDescent () const |
double | vApproach () const |
double | vTouchdown () const |
double | vCruise () const |
double | wingSpan () const |
double | wingChord () const |
double | weight () const |
double | decelerationOnGround () const |
Static Public Member Functions | |
static PerformanceData * | getDefaultData () |
Last-resort fallback performance data. | |
Data storage for aircraft performance data.
This is used to properly simulate the flight of AIAircrafts.
@author Thomas F�rster <t.foerster@biologie.hu-berlin.de>
Definition at line 11 of file performancedata.hxx.
PerformanceData::PerformanceData | ( | ) |
Definition at line 25 of file performancedata.cxx.
|
explicit |
Definition at line 46 of file performancedata.cxx.
|
virtualdefault |
|
inline |
Definition at line 35 of file performancedata.hxx.
double PerformanceData::actualAltitude | ( | const FGAIAircraft * | ac, |
double | tgt_altitude, | ||
double | dt ) |
Definition at line 193 of file performancedata.cxx.
double PerformanceData::actualBankAngle | ( | const FGAIAircraft * | ac, |
double | tgt_roll, | ||
double | dt ) |
Definition at line 146 of file performancedata.cxx.
double PerformanceData::actualHeading | ( | const FGAIAircraft * | ac, |
double | tgt_heading, | ||
double | dt ) |
double PerformanceData::actualPitch | ( | const FGAIAircraft * | ac, |
double | tgt_pitch, | ||
double | dt ) |
Definition at line 173 of file performancedata.cxx.
double PerformanceData::actualSpeed | ( | const FGAIAircraft * | ac, |
double | tgt_speed, | ||
double | dt, | ||
bool | needMaxBrake ) |
Definition at line 105 of file performancedata.cxx.
double PerformanceData::actualVerticalSpeed | ( | const FGAIAircraft * | ac, |
double | tgt_vs, | ||
double | dt ) |
Definition at line 202 of file performancedata.cxx.
|
inline |
Definition at line 37 of file performancedata.hxx.
|
inline |
Definition at line 31 of file performancedata.hxx.
|
inline |
Definition at line 36 of file performancedata.hxx.
double PerformanceData::decelerationOnGround | ( | ) | const |
Definition at line 141 of file performancedata.cxx.
|
inline |
Definition at line 32 of file performancedata.hxx.
bool PerformanceData::gearExtensible | ( | const FGAIAircraft * | ac | ) |
Definition at line 224 of file performancedata.cxx.
|
static |
Last-resort fallback performance data.
This is to avoid special-casing logic in the AIAircraft code, by ensuring we always have a valid _performance pointer.
Definition at line 19 of file performancedata.cxx.
void PerformanceData::initFromProps | ( | SGPropertyNode * | props | ) |
Definition at line 80 of file performancedata.cxx.
|
inline |
Definition at line 34 of file performancedata.hxx.
|
inline |
Definition at line 42 of file performancedata.hxx.
|
inline |
Definition at line 40 of file performancedata.hxx.
|
inline |
Definition at line 44 of file performancedata.hxx.
|
inline |
Definition at line 41 of file performancedata.hxx.
|
inline |
Definition at line 33 of file performancedata.hxx.
|
inline |
Definition at line 39 of file performancedata.hxx.
|
inline |
Definition at line 38 of file performancedata.hxx.
|
inline |
Definition at line 43 of file performancedata.hxx.
|
inline |
Definition at line 47 of file performancedata.hxx.
|
inline |
Definition at line 46 of file performancedata.hxx.
|
inline |
Definition at line 45 of file performancedata.hxx.