Temperature Model parameters.
More...
|
double | _constantTemperature |
| Temperature for the constant temperature model [K].
|
|
Model | _model |
| Selected model.
|
|
Temperature Model parameters.
◆ Model
Available temperature Models.
Enumerator |
---|
None | No temperature model.
|
Const | Constant value.
|
ISA | ICAO Standard Atmosphere.
|
GPT2 | GPT2.
|
GPT3 | GPT3.
|
COUNT | Amount of items in the enum.
|
◆ TemperatureModel()
NAV::TemperatureModel::TemperatureModel |
( |
Model | model | ) |
|
|
inline |
◆ calcAbsoluteTemperature()
double NAV::TemperatureModel::calcAbsoluteTemperature |
( |
double | altitudeMSL | ) |
const |
|
nodiscard |
Calculates the absolute temperature.
- Parameters
-
[in] | altitudeMSL | Geodetic height above MSL (mean sea level) [m] |
- Returns
- The absolute temperature in [K]
◆ ComboTemperatureModel [1/2]
bool ComboTemperatureModel |
( |
const char * | label, |
|
|
TemperatureModel & | temperatureModel ) |
|
friend |
Shows a ComboBox to select the temperature model.
- Parameters
-
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in] | temperatureModel | Reference to the temperature model to select |
◆ ComboTemperatureModel [2/2]
bool ComboTemperatureModel |
( |
const char * | label, |
|
|
TemperatureModel & | temperatureModel ) |
|
friend |
Shows a ComboBox to select the temperature model.
- Parameters
-
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in] | temperatureModel | Reference to the temperature model to select |
◆ from_json
Converts the provided json object into a node object.
- Parameters
-
[in] | j | Json object with the needed values |
[out] | obj | Object to fill from the json |
◆ operator== [1/3]
Equal compares Pin::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
◆ operator== [2/3]
Equal compares Pin::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
◆ operator== [3/3]
Equal compares Pin::Kind values.
- Parameters
-
[in] | lhs | Left-hand side of the operator |
[in] | rhs | Right-hand side of the operator |
- Returns
- Whether the comparison was successful
◆ to_json
Converts the provided object into json.
- Parameters
-
[out] | j | Json object which gets filled with the info |
[in] | obj | Object to convert into json |
◆ to_string
Converts the enum to a string.
- Parameters
-
[in] | temperatureModel | Enum value to convert into text |
- Returns
- String representation of the enum
The documentation for this class was generated from the following file:
- /home/runner/work/INSTINCT/INSTINCT/src/Navigation/Atmosphere/Temperature/Temperature.hpp