1 #ifndef PERFORMANCEDATA_HXX
2 #define PERFORMANCEDATA_HXX
11 Data storage for aircraft performance data. This is used to properly simulate the flight of AIAircrafts.
13 @author Thomas F�rster <t.foerster@biologie.hu-berlin.de>
20 PerformanceData(PerformanceData* clone);
22 void initFromProps(SGPropertyNode* props);
26 double actualSpeed(FGAIAircraft* ac, double tgt_speed, double dt, bool needMaxBrake);
27 double actualBankAngle(FGAIAircraft* ac, double tgt_roll, double dt);
28 double actualPitch(FGAIAircraft* ac, double tgt_pitch, double dt);
29 double actualHeading(FGAIAircraft* ac, double tgt_heading, double dt);
30 double actualAltitude(FGAIAircraft* ac, double tgt_altitude, double dt);
31 double actualVerticalSpeed(FGAIAircraft* ac, double tgt_vs, double dt);
33 bool gearExtensible(const FGAIAircraft* ac);
35 inline double climbRate () { return _climbRate; };
36 inline double descentRate () { return _descentRate; };
37 inline double vRotate () { return _vRotate; };
38 inline double maximumBankAngle () { return _maxbank; };
39 inline double acceleration () { return _acceleration; };
40 inline double deceleration () { return _deceleration; };
41 inline double vTaxi () { return _vTaxi; };
42 inline double vTakeoff () { return _vTakeOff; };
43 inline double vClimb () { return _vClimb; };
44 inline double vDescent () { return _vDescent; };
45 inline double vApproach () { return _vApproach; };
46 inline double vTouchdown () { return _vTouchdown; };
47 inline double vCruise () { return _vCruise; };
49 double decelerationOnGround() const;