FlightGear next
|
#include <FGInitialCondition.h>
Inherits JSBSim::FGJSBBase.
Public Member Functions | |
FGInitialCondition (FGFDMExec *fdmex) | |
Constructor. | |
~FGInitialCondition () | |
Destructor. | |
void | SetVcalibratedKtsIC (double vc) |
Set calibrated airspeed initial condition in knots. | |
void | SetVequivalentKtsIC (double ve) |
Set equivalent airspeed initial condition in knots. | |
void | SetVtrueKtsIC (double vtrue) |
Set true airspeed initial condition in knots. | |
void | SetVgroundKtsIC (double vg) |
Set ground speed initial condition in knots. | |
void | SetMachIC (double mach) |
Set mach initial condition. | |
void | SetAlphaDegIC (double a) |
Sets angle of attack initial condition in degrees. | |
void | SetBetaDegIC (double b) |
Sets angle of sideslip initial condition in degrees. | |
void | SetThetaDegIC (double theta) |
Sets pitch angle initial condition in degrees. | |
void | ResetIC (double u0, double v0, double w0, double p0, double q0, double r0, double alpha0, double beta0, double phi0, double theta0, double psi0, double latitudeRad0, double longitudeRad0, double altitudeAGL0, double gamma0) |
Resets the IC data structure to new values. | |
void | SetPhiDegIC (double phi) |
Sets the roll angle initial condition in degrees. | |
void | SetPsiDegIC (double psi) |
Sets the heading angle initial condition in degrees. | |
void | SetClimbRateFpmIC (double roc) |
Sets the climb rate initial condition in feet/minute. | |
void | SetFlightPathAngleDegIC (double gamma) |
Sets the flight path angle initial condition in degrees. | |
void | SetAltitudeASLFtIC (double altitudeASL) |
Sets the altitude above sea level initial condition in feet. | |
void | SetAltitudeAGLFtIC (double agl) |
Sets the initial Altitude above ground level. | |
void | SetTerrainElevationFtIC (double elev) |
Sets the initial terrain elevation. | |
void | SetLatitudeDegIC (double lat) |
Sets the initial latitude. | |
void | SetGeodLatitudeDegIC (double glat) |
Sets the initial geodetic latitude. | |
void | SetLongitudeDegIC (double lon) |
Sets the initial longitude. | |
double | GetVcalibratedKtsIC (void) const |
Gets the initial calibrated airspeed. | |
double | GetVequivalentKtsIC (void) const |
Gets the initial equivalent airspeed. | |
double | GetVgroundKtsIC (void) const |
Gets the initial ground speed. | |
double | GetVtrueKtsIC (void) const |
Gets the initial true velocity. | |
double | GetMachIC (void) const |
Gets the initial mach. | |
double | GetClimbRateFpmIC (void) const |
Gets the initial climb rate. | |
double | GetFlightPathAngleDegIC (void) const |
Gets the initial flight path angle. | |
double | GetAlphaDegIC (void) const |
Gets the initial angle of attack. | |
double | GetBetaDegIC (void) const |
Gets the initial sideslip angle. | |
double | GetThetaDegIC (void) const |
Gets the initial pitch angle. | |
double | GetPhiDegIC (void) const |
Gets the initial roll angle. | |
double | GetPsiDegIC (void) const |
Gets the initial heading angle. | |
double | GetLatitudeDegIC (void) const |
Gets the initial latitude. | |
double | GetGeodLatitudeDegIC (void) const |
Gets the initial geodetic latitude. | |
double | GetLongitudeDegIC (void) const |
Gets the initial longitude. | |
double | GetAltitudeASLFtIC (void) const |
Gets the initial altitude above sea level. | |
double | GetAltitudeAGLFtIC (void) const |
Gets the initial altitude above ground level. | |
double | GetTerrainElevationFtIC (void) const |
Gets the initial terrain elevation. | |
double | GetEarthPositionAngleIC (void) const |
Gets the initial Earth position angle. | |
void | SetVgroundFpsIC (double vg) |
Sets the initial ground speed. | |
void | SetVtrueFpsIC (double vt) |
Sets the initial true airspeed. | |
void | SetUBodyFpsIC (double ubody) |
Sets the initial body axis X velocity. | |
void | SetVBodyFpsIC (double vbody) |
Sets the initial body axis Y velocity. | |
void | SetWBodyFpsIC (double wbody) |
Sets the initial body axis Z velocity. | |
void | SetVNorthFpsIC (double vn) |
Sets the initial local axis north velocity. | |
void | SetVEastFpsIC (double ve) |
Sets the initial local axis east velocity. | |
void | SetVDownFpsIC (double vd) |
Sets the initial local axis down velocity. | |
void | SetPRadpsIC (double P) |
Sets the initial body axis roll rate. | |
void | SetQRadpsIC (double Q) |
Sets the initial body axis pitch rate. | |
void | SetRRadpsIC (double R) |
Sets the initial body axis yaw rate. | |
void | SetWindNEDFpsIC (double wN, double wE, double wD) |
Sets the initial wind velocity. | |
void | SetWindMagKtsIC (double mag) |
Sets the initial total wind speed. | |
void | SetWindDirDegIC (double dir) |
Sets the initial wind direction. | |
void | SetHeadWindKtsIC (double head) |
Sets the initial headwind velocity. | |
void | SetCrossWindKtsIC (double cross) |
Sets the initial crosswind speed. | |
void | SetWindDownKtsIC (double wD) |
Sets the initial wind downward speed. | |
void | SetClimbRateFpsIC (double roc) |
Sets the initial climb rate. | |
double | GetVgroundFpsIC (void) const |
Gets the initial ground velocity. | |
double | GetVtrueFpsIC (void) const |
Gets the initial true velocity. | |
double | GetWindUFpsIC (void) const |
Gets the initial body axis X wind velocity. | |
double | GetWindVFpsIC (void) const |
Gets the initial body axis Y wind velocity. | |
double | GetWindWFpsIC (void) const |
Gets the initial body axis Z wind velocity. | |
const FGColumnVector3 | GetWindNEDFpsIC (void) const |
Gets the initial wind velocity in the NED local frame. | |
double | GetWindNFpsIC (void) const |
Gets the initial wind velocity in local frame. | |
double | GetWindEFpsIC (void) const |
Gets the initial wind velocity in local frame. | |
double | GetWindDFpsIC (void) const |
Gets the initial wind velocity in local frame. | |
double | GetWindFpsIC (void) const |
Gets the initial total wind velocity in feet/sec. | |
double | GetWindDirDegIC (void) const |
Gets the initial wind direction. | |
double | GetClimbRateFpsIC (void) const |
Gets the initial climb rate. | |
const FGColumnVector3 | GetUVWFpsIC (void) const |
Gets the initial body velocity. | |
double | GetUBodyFpsIC (void) const |
Gets the initial body axis X velocity. | |
double | GetVBodyFpsIC (void) const |
Gets the initial body axis Y velocity. | |
double | GetWBodyFpsIC (void) const |
Gets the initial body axis Z velocity. | |
double | GetVNorthFpsIC (void) const |
Gets the initial local frame X (North) velocity. | |
double | GetVEastFpsIC (void) const |
Gets the initial local frame Y (East) velocity. | |
double | GetVDownFpsIC (void) const |
Gets the initial local frame Z (Down) velocity. | |
const FGColumnVector3 | GetPQRRadpsIC (void) const |
Gets the initial body rotation rate. | |
double | GetPRadpsIC () const |
Gets the initial body axis roll rate. | |
double | GetQRadpsIC () const |
Gets the initial body axis pitch rate. | |
double | GetRRadpsIC () const |
Gets the initial body axis yaw rate. | |
void | SetFlightPathAngleRadIC (double gamma) |
Sets the initial flight path angle. | |
void | SetAlphaRadIC (double alpha) |
Sets the initial angle of attack. | |
void | SetBetaRadIC (double beta) |
Sets the initial sideslip angle. | |
void | SetPhiRadIC (double phi) |
Sets the initial roll angle. | |
void | SetThetaRadIC (double theta) |
Sets the initial pitch angle. | |
void | SetPsiRadIC (double psi) |
Sets the initial heading angle. | |
void | SetLatitudeRadIC (double lat) |
Sets the initial latitude. | |
void | SetGeodLatitudeRadIC (double glat) |
Sets the initial geodetic latitude. | |
void | SetLongitudeRadIC (double lon) |
Sets the initial longitude. | |
void | SetTargetNlfIC (double nlf) |
Sets the target normal load factor. | |
double | GetFlightPathAngleRadIC (void) const |
Gets the initial flight path angle. | |
double | GetAlphaRadIC (void) const |
Gets the initial angle of attack. | |
double | GetBetaRadIC (void) const |
Gets the initial angle of sideslip. | |
const FGLocation & | GetPosition (void) const |
Gets the initial position. | |
double | GetLatitudeRadIC (void) const |
Gets the initial latitude. | |
double | GetGeodLatitudeRadIC (void) const |
Gets the initial geodetic latitude. | |
double | GetLongitudeRadIC (void) const |
Gets the initial longitude. | |
const FGQuaternion & | GetOrientation (void) const |
Gets the initial orientation. | |
double | GetPhiRadIC (void) const |
Gets the initial roll angle. | |
double | GetThetaRadIC (void) const |
Gets the initial pitch angle. | |
double | GetPsiRadIC (void) const |
Gets the initial heading angle. | |
speedset | GetSpeedSet (void) const |
Gets the initial speedset. | |
double | GetTargetNlfIC (void) const |
Gets the target normal load factor set from IC. | |
bool | Load (const SGPath &rstname, bool useStoredPath=true) |
Loads the initial conditions. | |
bool | IsEngineRunning (unsigned int n) const |
Is an engine running ? | |
int | TrimRequested (void) const |
Does initialization file call for trim ? | |
void | InitializeIC (void) |
Initialize the initial conditions to default values. | |
void | bind (FGPropertyManager *pm) |
![]() | |
FGJSBBase () | |
Constructor for FGJSBBase. | |
virtual | ~FGJSBBase () |
Destructor for FGJSBBase. | |
void | PutMessage (const Message &msg) |
Places a Message structure on the Message queue. | |
void | PutMessage (const std::string &text) |
Creates a message with the given text and places it on the queue. | |
void | PutMessage (const std::string &text, bool bVal) |
Creates a message with the given text and boolean value and places it on the queue. | |
void | PutMessage (const std::string &text, int iVal) |
Creates a message with the given text and integer value and places it on the queue. | |
void | PutMessage (const std::string &text, double dVal) |
Creates a message with the given text and double value and places it on the queue. | |
int | SomeMessages (void) const |
Reads the message on the queue (but does not delete it). | |
void | ProcessMessage (void) |
Reads the message on the queue and removes it from the queue. | |
Message * | ProcessNextMessage (void) |
Reads the next message on the queue and removes it from the queue. | |
void | disableHighLighting (void) |
Disables highlighting in the console output. | |
Additional Inherited Members | |
![]() | |
enum | { eL = 1 , eM , eN } |
Moments L, M, N. More... | |
enum | { eP = 1 , eQ , eR } |
Rates P, Q, R. More... | |
enum | { eU = 1 , eV , eW } |
Velocities U, V, W. More... | |
enum | { eX = 1 , eY , eZ } |
Positions X, Y, Z. More... | |
enum | { ePhi = 1 , eTht , ePsi } |
Euler angles Phi, Theta, Psi. More... | |
enum | { eDrag = 1 , eSide , eLift } |
Stability axis forces, Drag, Side force, Lift. More... | |
enum | { eRoll = 1 , ePitch , eYaw } |
Local frame orientation Roll, Pitch, Yaw. More... | |
enum | { eNorth = 1 , eEast , eDown } |
Local frame position North, East, Down. More... | |
enum | { eLat = 1 , eLong , eRad } |
Locations Radius, Latitude, Longitude. More... | |
enum | { inNone = 0 , inDegrees , inRadians , inMeters , inFeet } |
Conversion specifiers. More... | |
static const std::string & | GetVersion (void) |
Returns the version number of JSBSim. | |
static constexpr double | KelvinToFahrenheit (double kelvin) |
Converts from degrees Kelvin to degrees Fahrenheit. | |
static constexpr double | CelsiusToRankine (double celsius) |
Converts from degrees Celsius to degrees Rankine. | |
static constexpr double | RankineToCelsius (double rankine) |
Converts from degrees Rankine to degrees Celsius. | |
static constexpr double | KelvinToRankine (double kelvin) |
Converts from degrees Kelvin to degrees Rankine. | |
static constexpr double | RankineToKelvin (double rankine) |
Converts from degrees Rankine to degrees Kelvin. | |
static constexpr double | FahrenheitToCelsius (double fahrenheit) |
Converts from degrees Fahrenheit to degrees Celsius. | |
static constexpr double | CelsiusToFahrenheit (double celsius) |
Converts from degrees Celsius to degrees Fahrenheit. | |
static constexpr double | CelsiusToKelvin (double celsius) |
Converts from degrees Celsius to degrees Kelvin. | |
static constexpr double | KelvinToCelsius (double kelvin) |
Converts from degrees Kelvin to degrees Celsius. | |
static constexpr double | FeetToMeters (double measure) |
Converts from feet to meters. | |
static double | PitotTotalPressure (double mach, double p) |
Compute the total pressure in front of the Pitot tube. | |
static double | MachFromImpactPressure (double qc, double p) |
Compute the Mach number from the differential pressure (qc) and the static pressure. | |
static double | VcalibratedFromMach (double mach, double p) |
Calculate the calibrated airspeed from the Mach number. | |
static double | MachFromVcalibrated (double vcas, double p) |
Calculate the Mach number from the calibrated airspeed.Based on the formulas in the US Air Force Aircraft Performance Flight Testing Manual (AFFTC-TIH-99-01). | |
static bool | EqualToRoundoff (double a, double b) |
Finite precision comparison. | |
static bool | EqualToRoundoff (float a, float b) |
Finite precision comparison. | |
static bool | EqualToRoundoff (float a, double b) |
Finite precision comparison. | |
static bool | EqualToRoundoff (double a, float b) |
Finite precision comparison. | |
static constexpr double | Constrain (double min, double value, double max) |
Constrain a value between a minimum and a maximum value. | |
static constexpr double | sign (double num) |
static double | GaussianRandomNumber (void) |
![]() | |
static char | highint [5] = {27, '[', '1', 'm', '\0' } |
highlights text | |
static char | halfint [5] = {27, '[', '2', 'm', '\0' } |
low intensity text | |
static char | normint [6] = {27, '[', '2', '2', 'm', '\0' } |
normal intensity text | |
static char | reset [5] = {27, '[', '0', 'm', '\0' } |
resets text properties | |
static char | underon [5] = {27, '[', '4', 'm', '\0' } |
underlines text | |
static char | underoff [6] = {27, '[', '2', '4', 'm', '\0' } |
underline off | |
static char | fgblue [6] = {27, '[', '3', '4', 'm', '\0' } |
blue text | |
static char | fgcyan [6] = {27, '[', '3', '6', 'm', '\0' } |
cyan text | |
static char | fgred [6] = {27, '[', '3', '1', 'm', '\0' } |
red text | |
static char | fggreen [6] = {27, '[', '3', '2', 'm', '\0' } |
green text | |
static char | fgdef [6] = {27, '[', '3', '9', 'm', '\0' } |
default text | |
static short | debug_lvl = 1 |
static std::string | CreateIndexedPropertyName (const std::string &Property, int index) |
static Message | localMsg |
static std::queue< Message > | Messages |
static unsigned int | messageId = 0 |
static constexpr double | radtodeg = 180. / 3.14159265358979323846 |
static constexpr double | degtorad = 3.14159265358979323846 / 180. |
static constexpr double | hptoftlbssec = 550.0 |
static constexpr double | psftoinhg = 0.014138 |
static constexpr double | psftopa = 47.88 |
static constexpr double | ktstofps = 1.68781 |
static constexpr double | fpstokts = 1.0 / ktstofps |
static constexpr double | inchtoft = 1.0/12.0 |
static constexpr double | fttom = 0.3048 |
static constexpr double | m3toft3 = 1.0/(fttom*fttom*fttom) |
static constexpr double | in3tom3 = inchtoft*inchtoft*inchtoft/m3toft3 |
static constexpr double | inhgtopa = 3386.38 |
static constexpr double | slugtolb = 32.174049 |
Note that definition of lbtoslug by the inverse of slugtolb and not to a different constant you can also get from some tables will make lbtoslug*slugtolb == 1 up to the magnitude of roundoff. | |
static constexpr double | lbtoslug = 1.0/slugtolb |
static constexpr double | kgtolb = 2.20462 |
static constexpr double | kgtoslug = 0.06852168 |
static const std::string | needed_cfg_version = "2.0" |
static const std::string | JSBSim_version = JSBSIM_VERSION " " __DATE__ " " __TIME__ |
static int | gaussian_random_number_phase = 0 |
Definition at line 224 of file FGInitialCondition.h.
|
explicit |
Constructor.
Definition at line 60 of file FGInitialCondition.cpp.
JSBSim::FGInitialCondition::~FGInitialCondition | ( | ) |
Destructor.
Definition at line 76 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::bind | ( | FGPropertyManager * | pm | ) |
Definition at line 1445 of file FGInitialCondition.cpp.
|
inline |
Gets the initial angle of attack.
Definition at line 347 of file FGInitialCondition.h.
|
inline |
Gets the initial angle of attack.
Definition at line 623 of file FGInitialCondition.h.
double JSBSim::FGInitialCondition::GetAltitudeAGLFtIC | ( | void | ) | const |
Gets the initial altitude above ground level.
Definition at line 656 of file FGInitialCondition.cpp.
double JSBSim::FGInitialCondition::GetAltitudeASLFtIC | ( | void | ) | const |
Gets the initial altitude above sea level.
Definition at line 649 of file FGInitialCondition.cpp.
|
inline |
Gets the initial sideslip angle.
Definition at line 351 of file FGInitialCondition.h.
|
inline |
Gets the initial angle of sideslip.
Definition at line 627 of file FGInitialCondition.h.
|
inline |
Gets the initial climb rate.
Definition at line 337 of file FGInitialCondition.h.
|
inline |
Gets the initial climb rate.
Definition at line 518 of file FGInitialCondition.h.
|
inline |
Gets the initial Earth position angle.
Definition at line 392 of file FGInitialCondition.h.
|
inline |
Gets the initial flight path angle.
Definition at line 342 of file FGInitialCondition.h.
|
inline |
Gets the initial flight path angle.
If total velocity is zero, this function returns zero.
Definition at line 618 of file FGInitialCondition.h.
|
inline |
Gets the initial geodetic latitude.
Definition at line 371 of file FGInitialCondition.h.
|
inline |
Gets the initial geodetic latitude.
Definition at line 639 of file FGInitialCondition.h.
|
inline |
Gets the initial latitude.
Definition at line 367 of file FGInitialCondition.h.
|
inline |
Gets the initial latitude.
Definition at line 635 of file FGInitialCondition.h.
|
inline |
Gets the initial longitude.
Definition at line 376 of file FGInitialCondition.h.
|
inline |
Gets the initial longitude.
Definition at line 644 of file FGInitialCondition.h.
double JSBSim::FGInitialCondition::GetMachIC | ( | void | ) | const |
Gets the initial mach.
Definition at line 983 of file FGInitialCondition.cpp.
|
inline |
Gets the initial orientation.
Definition at line 648 of file FGInitialCondition.h.
|
inline |
Gets the initial roll angle.
Definition at line 359 of file FGInitialCondition.h.
|
inline |
Gets the initial roll angle.
Definition at line 652 of file FGInitialCondition.h.
|
inline |
Gets the initial position.
Definition at line 631 of file FGInitialCondition.h.
|
inline |
Gets the initial body rotation rate.
Definition at line 558 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis roll rate.
Definition at line 562 of file FGInitialCondition.h.
|
inline |
Gets the initial heading angle.
Definition at line 363 of file FGInitialCondition.h.
|
inline |
Gets the initial heading angle.
Definition at line 660 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis pitch rate.
Definition at line 566 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis yaw rate.
Definition at line 570 of file FGInitialCondition.h.
|
inline |
Gets the initial speedset.
Definition at line 664 of file FGInitialCondition.h.
|
inline |
Gets the target normal load factor set from IC.
Definition at line 668 of file FGInitialCondition.h.
double JSBSim::FGInitialCondition::GetTerrainElevationFtIC | ( | void | ) | const |
Gets the initial terrain elevation.
Definition at line 663 of file FGInitialCondition.cpp.
|
inline |
Gets the initial pitch angle.
Definition at line 355 of file FGInitialCondition.h.
|
inline |
Gets the initial pitch angle.
Definition at line 656 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis X velocity.
Definition at line 534 of file FGInitialCondition.h.
|
inline |
Gets the initial body velocity.
Definition at line 527 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis Y velocity.
Definition at line 538 of file FGInitialCondition.h.
double JSBSim::FGInitialCondition::GetVcalibratedKtsIC | ( | void | ) | const |
Gets the initial calibrated airspeed.
Definition at line 961 of file FGInitialCondition.cpp.
|
inline |
Gets the initial local frame Z (Down) velocity.
Definition at line 554 of file FGInitialCondition.h.
|
inline |
Gets the initial local frame Y (East) velocity.
Definition at line 550 of file FGInitialCondition.h.
double JSBSim::FGInitialCondition::GetVequivalentKtsIC | ( | void | ) | const |
Gets the initial equivalent airspeed.
Definition at line 973 of file FGInitialCondition.cpp.
|
inline |
Gets the initial ground velocity.
Definition at line 470 of file FGInitialCondition.h.
|
inline |
Gets the initial ground speed.
Definition at line 325 of file FGInitialCondition.h.
|
inline |
Gets the initial local frame X (North) velocity.
Definition at line 546 of file FGInitialCondition.h.
|
inline |
Gets the initial true velocity.
Definition at line 474 of file FGInitialCondition.h.
|
inline |
Gets the initial true velocity.
Definition at line 329 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis Z velocity.
Definition at line 542 of file FGInitialCondition.h.
|
inline |
Gets the initial wind velocity in local frame.
Definition at line 506 of file FGInitialCondition.h.
double JSBSim::FGInitialCondition::GetWindDirDegIC | ( | void | ) | const |
Gets the initial wind direction.
Definition at line 915 of file FGInitialCondition.cpp.
|
inline |
Gets the initial wind velocity in local frame.
Definition at line 502 of file FGInitialCondition.h.
double JSBSim::FGInitialCondition::GetWindFpsIC | ( | void | ) | const |
Gets the initial total wind velocity in feet/sec.
Definition at line 938 of file FGInitialCondition.cpp.
|
inline |
Gets the initial wind velocity in the NED local frame.
Definition at line 490 of file FGInitialCondition.h.
|
inline |
Gets the initial wind velocity in local frame.
Definition at line 498 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis X wind velocity.
Definition at line 478 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis Y wind velocity.
Definition at line 482 of file FGInitialCondition.h.
|
inline |
Gets the initial body axis Z wind velocity.
Definition at line 486 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::InitializeIC | ( | void | ) |
Initialize the initial conditions to default values.
Definition at line 121 of file FGInitialCondition.cpp.
|
inline |
Is an engine running ?
index | of the engine to be checked |
Definition at line 679 of file FGInitialCondition.h.
bool JSBSim::FGInitialCondition::Load | ( | const SGPath & | rstname, |
bool | useStoredPath = true ) |
Loads the initial conditions.
rstname | The name of an initial conditions file |
useStoredPath | true if the stored path to the IC file should be used |
Definition at line 1002 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::ResetIC | ( | double | u0, |
double | v0, | ||
double | w0, | ||
double | p0, | ||
double | q0, | ||
double | r0, | ||
double | alpha0, | ||
double | beta0, | ||
double | phi0, | ||
double | theta0, | ||
double | psi0, | ||
double | latitudeRad0, | ||
double | longitudeRad0, | ||
double | altitudeAGL0, | ||
double | gamma0 ) |
Resets the IC data structure to new values.
u,v,w,... |
Definition at line 83 of file FGInitialCondition.cpp.
|
inline |
Sets angle of attack initial condition in degrees.
a | Alpha in degrees |
Definition at line 254 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetAlphaRadIC | ( | double | alpha | ) |
Sets the initial angle of attack.
alpha | Initial angle of attack in radians |
Definition at line 312 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetAltitudeAGLFtIC | ( | double | agl | ) |
Sets the initial Altitude above ground level.
agl | Altitude above ground level in feet |
Definition at line 676 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetAltitudeASLFtIC | ( | double | altitudeASL | ) |
Sets the altitude above sea level initial condition in feet.
altitudeASL | Altitude above sea level in feet |
Definition at line 748 of file FGInitialCondition.cpp.
|
inline |
Sets angle of sideslip initial condition in degrees.
B | Beta in degrees |
Definition at line 258 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetBetaRadIC | ( | double | beta | ) |
Sets the initial sideslip angle.
beta | Initial angle of sideslip in radians. |
Definition at line 397 of file FGInitialCondition.cpp.
|
inline |
Sets the climb rate initial condition in feet/minute.
roc | Rate of Climb in feet/minute |
Definition at line 281 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetClimbRateFpsIC | ( | double | roc | ) |
Sets the initial climb rate.
roc | Initial Rate of climb in feet/second |
Definition at line 283 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetCrossWindKtsIC | ( | double | cross | ) |
Sets the initial crosswind speed.
cross | Initial crosswind speed, positive from left to right |
Definition at line 527 of file FGInitialCondition.cpp.
|
inline |
Sets the flight path angle initial condition in degrees.
gamma | Flight path angle in degrees |
Definition at line 285 of file FGInitialCondition.h.
|
inline |
Sets the initial flight path angle.
gamma | Initial flight path angle in radians |
Definition at line 574 of file FGInitialCondition.h.
|
inline |
Sets the initial geodetic latitude.
This method modifies the geodetic altitude in order to keep the altitude above sea level unchanged.
glat | Initial geodetic latitude in degrees |
Definition at line 308 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetGeodLatitudeRadIC | ( | double | glat | ) |
Sets the initial geodetic latitude.
This method modifies the geodetic altitude in order to keep the altitude above sea level unchanged.
glat | Initial geodetic latitude in radians |
Definition at line 849 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetHeadWindKtsIC | ( | double | head | ) |
Sets the initial headwind velocity.
head | Initial headwind speed in knots |
Definition at line 550 of file FGInitialCondition.cpp.
|
inline |
Sets the initial latitude.
lat | Initial latitude in degrees |
Definition at line 302 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetLatitudeRadIC | ( | double | lat | ) |
Sets the initial latitude.
lat | Initial latitude in radians |
Definition at line 875 of file FGInitialCondition.cpp.
|
inline |
Sets the initial longitude.
lon | Initial longitude in degrees |
Definition at line 313 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetLongitudeRadIC | ( | double | lon | ) |
Sets the initial longitude.
lon | Initial longitude in radians |
Definition at line 897 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetMachIC | ( | double | mach | ) |
Set mach initial condition.
mach | Mach number |
Definition at line 163 of file FGInitialCondition.cpp.
|
inline |
Sets the roll angle initial condition in degrees.
phi | roll angle in degrees |
Definition at line 273 of file FGInitialCondition.h.
|
inline |
Sets the initial roll angle.
phi | Initial roll angle in radians |
Definition at line 587 of file FGInitialCondition.h.
|
inline |
Sets the initial body axis roll rate.
P | Initial roll rate in radians/second |
Definition at line 428 of file FGInitialCondition.h.
|
inline |
Sets the heading angle initial condition in degrees.
psi | Heading angle in degrees |
Definition at line 277 of file FGInitialCondition.h.
|
inline |
Sets the initial heading angle.
psi | Initial heading angle in radians |
Definition at line 595 of file FGInitialCondition.h.
|
inline |
Sets the initial body axis pitch rate.
Q | Initial pitch rate in radians/second |
Definition at line 432 of file FGInitialCondition.h.
|
inline |
Sets the initial body axis yaw rate.
R | initial yaw rate in radians/second |
Definition at line 436 of file FGInitialCondition.h.
|
inline |
Sets the target normal load factor.
nlf | Normal load factor |
Definition at line 613 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetTerrainElevationFtIC | ( | double | elev | ) |
Sets the initial terrain elevation.
elev | Initial terrain elevation in feet |
Definition at line 638 of file FGInitialCondition.cpp.
|
inline |
Sets pitch angle initial condition in degrees.
theta | Theta (pitch) angle in degrees |
Definition at line 262 of file FGInitialCondition.h.
|
inline |
Sets the initial pitch angle.
theta | Initial pitch angle in radians |
Definition at line 591 of file FGInitialCondition.h.
|
inline |
Sets the initial body axis X velocity.
ubody | Initial X velocity in feet/second |
Definition at line 404 of file FGInitialCondition.h.
|
inline |
Sets the initial body axis Y velocity.
vbody | Initial Y velocity in feet/second |
Definition at line 408 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetVcalibratedKtsIC | ( | double | vc | ) |
Set calibrated airspeed initial condition in knots.
vc | Calibrated airspeed in knots |
Definition at line 173 of file FGInitialCondition.cpp.
|
inline |
Sets the initial local axis down velocity.
vd | Initial down velocity in feet/second |
Definition at line 424 of file FGInitialCondition.h.
|
inline |
Sets the initial local axis east velocity.
ve | Initial east velocity in feet/second |
Definition at line 420 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetVequivalentKtsIC | ( | double | ve | ) |
Set equivalent airspeed initial condition in knots.
ve | Equivalent airspeed in knots |
Definition at line 152 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetVgroundFpsIC | ( | double | vg | ) |
Sets the initial ground speed.
vg | Initial ground speed in feet/second |
Definition at line 235 of file FGInitialCondition.cpp.
|
inline |
Set ground speed initial condition in knots.
vg | Ground speed in knots |
Definition at line 246 of file FGInitialCondition.h.
|
inline |
Sets the initial local axis north velocity.
vn | Initial north velocity in feet/second |
Definition at line 416 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetVtrueFpsIC | ( | double | vt | ) |
Sets the initial true airspeed.
vt | Initial true airspeed in feet/second |
Definition at line 259 of file FGInitialCondition.cpp.
|
inline |
Set true airspeed initial condition in knots.
vtrue | True airspeed in knots |
Definition at line 242 of file FGInitialCondition.h.
|
inline |
Sets the initial body axis Z velocity.
wbody | Initial Z velocity in feet/second |
Definition at line 412 of file FGInitialCondition.h.
void JSBSim::FGInitialCondition::SetWindDirDegIC | ( | double | dir | ) |
Sets the initial wind direction.
dir | Initial direction wind is coming from in degrees |
Definition at line 620 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetWindDownKtsIC | ( | double | wD | ) |
Sets the initial wind downward speed.
wD | Initial downward wind speed in knots |
Definition at line 578 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetWindMagKtsIC | ( | double | mag | ) |
Sets the initial total wind speed.
mag | Initial wind velocity magnitude in knots |
Definition at line 594 of file FGInitialCondition.cpp.
void JSBSim::FGInitialCondition::SetWindNEDFpsIC | ( | double | wN, |
double | wE, | ||
double | wD ) |
Sets the initial wind velocity.
wN | Initial wind velocity in local north direction, feet/second |
wE | Initial wind velocity in local east direction, feet/second |
wD | Initial wind velocity in local down direction, feet/second |
Definition at line 514 of file FGInitialCondition.cpp.
|
inline |
Does initialization file call for trim ?
Definition at line 683 of file FGInitialCondition.h.