42 #include "math/FGColumnVector3.h" 49 #define ID_THRUSTER "$Id: FGThruster.h,v 1.26 2015/09/27 10:03:53 bcoconni Exp $" 58 class FGPropertyManager;
92 enum eType {ttNozzle, ttRotor, ttPropeller, ttDirect};
94 virtual double Calculate(
double tt) {
95 Thrust = cos(ReverserAngle)*tt;
99 void SetName(std::string name) {Name = name;}
100 virtual void SetRPM(
double rpm) {};
101 virtual void SetEngineRPM(
double rpm) {};
102 virtual double GetPowerRequired(
void) {
return 0.0;}
103 double GetThrust(
void)
const {
return Thrust;}
104 eType GetType(
void) {
return Type;}
105 std::string GetName(
void) {
return Name;}
106 void SetReverserAngle(
double angle) {ReverserAngle = angle;}
107 double GetReverserAngle(
void)
const {
return ReverserAngle;}
108 virtual double GetRPM(
void)
const {
return 0.0; };
109 virtual double GetEngineRPM(
void)
const {
return 0.0; };
110 double GetGearRatio(
void) {
return GearRatio; }
111 virtual std::string GetThrusterLabels(
int id,
const std::string& delimeter);
112 virtual std::string GetThrusterValues(
int id,
const std::string& delimeter);
114 virtual void ResetToIC(
void);
134 double PowerRequired;
137 double ReverserAngle;
139 virtual void Debug(
int from);
Base class for specific thrusting devices such as propellers, nozzles, etc.
virtual ~FGThruster()
Destructor.
This class implements a 3 element column vector.
Encapsulates the JSBSim simulation executive.
Utility class that aids in the conversion of forces between coordinate systems and calculation of mom...
FGThruster(FGFDMExec *FDMExec, Element *el, int num)
Constructor.