JSBSim Flight Dynamics Model 1.0 (23 February 2013)
An Open Source Flight Dynamics and Control Software Library in C++

FGThruster Class Reference

Base class for specific thrusting devices such as propellers, nozzles, etc. More...

#include <FGThruster.h>

Inheritance diagram for FGThruster:
Collaboration diagram for FGThruster:

List of all members.

Classes

struct  Inputs

Public Types

enum  eType { ttNozzle, ttRotor, ttPropeller, ttDirect }

Public Member Functions

 FGThruster (FGFDMExec *FDMExec, Element *el, int num)
 Constructor.
virtual ~FGThruster ()
 Destructor.
virtual double Calculate (double tt)
virtual double GetEngineRPM (void) const
double GetGearRatio (void)
string GetName (void)
virtual double GetPowerRequired (void)
double GetReverserAngle (void) const
virtual double GetRPM (void) const
double GetThrust (void) const
virtual string GetThrusterLabels (int id, const string &delimeter)
virtual string GetThrusterValues (int id, const string &delimeter)
eType GetType (void)
virtual void SetdeltaT (double dt)
virtual void SetEngineRPM (double rpm)
void SetName (string name)
void SetReverserAngle (double angle)
virtual void SetRPM (double rpm)

Public Attributes

struct JSBSim::FGThruster::Inputs in

Protected Member Functions

virtual void Debug (int from)

Protected Attributes

double deltaT
int EngineNum
double GearRatio
string Name
double PowerRequired
FGPropertyManagerPropertyManager
double ReverserAngle
double Thrust
double ThrustCoeff
eType Type

Detailed Description

reverser angle:

"Reverser angle" as used here is a way to manipulate the thrust vector, along the thrust axis ONLY, during run time. This should not be confused with a thrust vectoring nozzle. The angle is defined in radians, and is used thus: Final_thrust = cosine( reverser_angle ) * unmodified_thrust. Therefore a reverser angle of 0 results in no change, and a reverser angle of 3.14 (pi) results in a completely reversed thrust vector. An angle of 1.57 (pi/2) results in no thrust at all.

Author:
Jon Berndt
Version:
Id:
FGThruster.h,v 1.20 2012/03/18 15:48:36 jentron Exp

Definition at line 84 of file FGThruster.h.


The documentation for this class was generated from the following files: