0.2.0
|
Temperature calculation formulas. More...
Go to the source code of this file.
Enumerations | |
enum class | NAV::TemperatureModel : int { None , ConstNN , ISA , GPT2 , GPT3 , COUNT } |
Available temperature Models. More... | |
Functions | |
double | NAV::calcAbsoluteTemperature (double altitudeMSL, TemperatureModel temperatureModel) |
Calculates the absolute temperature. | |
bool | NAV::ComboTemperatureModel (const char *label, TemperatureModel &temperatureModel) |
Shows a ComboBox to select the temperature model. | |
const char * | NAV::to_string (TemperatureModel temperatureModel) |
Converts the enum to a string. | |
Temperature calculation formulas.
|
strong |
double NAV::calcAbsoluteTemperature | ( | double | altitudeMSL, |
TemperatureModel | temperatureModel ) |
Calculates the absolute temperature.
[in] | altitudeMSL | Geodetic height above MSL (mean sea level) [m] |
[in] | temperatureModel | Temperature model to use |
bool NAV::ComboTemperatureModel | ( | const char * | label, |
TemperatureModel & | temperatureModel ) |
Shows a ComboBox to select the temperature model.
[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 |
const char * NAV::to_string | ( | TemperatureModel | temperatureModel | ) |
Converts the enum to a string.
[in] | temperatureModel | Enum value to convert into text |