DEFINITIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-#define ID_THRUSTER "$Id$"
+#define ID_THRUSTER "$Id: FGThruster.h,v 1.20 2012/03/18 15:48:36 jentron Exp $"
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
FORWARD DECLARATIONS
1.57 (pi/2) results in no thrust at all.
@author Jon Berndt
- @version $Id$
+ @version $Id: FGThruster.h,v 1.20 2012/03/18 15:48:36 jentron Exp $
*/
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}
void SetName(string name) {Name = name;}
virtual void SetRPM(double rpm) {};
+ virtual void SetEngineRPM(double rpm) {};
virtual double GetPowerRequired(void) {return 0.0;}
virtual void SetdeltaT(double dt) {deltaT = dt;}
double GetThrust(void) const {return Thrust;}
void SetReverserAngle(double angle) {ReverserAngle = angle;}
double GetReverserAngle(void) const {return ReverserAngle;}
virtual double GetRPM(void) const { return 0.0; };
+ virtual double GetEngineRPM(void) const { return 0.0; };
double GetGearRatio(void) {return GearRatio; }
- virtual string GetThrusterLabels(int id, string delimeter);
- virtual string GetThrusterValues(int id, string delimeter);
+ virtual string GetThrusterLabels(int id, const string& delimeter);
+ virtual string GetThrusterValues(int id, const string& delimeter);
+
+ struct Inputs {
+ double TotalDeltaT;
+ double H_agl;
+ FGColumnVector3 PQR;
+ FGColumnVector3 AeroPQR;
+ FGColumnVector3 AeroUVW;
+ double Density;
+ double Pressure;
+ double Soundspeed;
+ double Alpha;
+ double Beta;
+ double Vt;
+ } in;
protected:
eType Type;