0.2.0
Loading...
Searching...
No Matches
Temperature.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
13
14#pragma once
15
16namespace NAV
17{
18
20enum class TemperatureModel : int
21{
22 None,
23 ConstNN,
24 ISA,
25 GPT2,
26 GPT3,
27 COUNT,
28};
29
33const char* to_string(TemperatureModel temperatureModel);
34
38bool ComboTemperatureModel(const char* label, TemperatureModel& temperatureModel);
39
44[[nodiscard]] double calcAbsoluteTemperature(double altitudeMSL, TemperatureModel temperatureModel);
45
46} // namespace NAV
@ None
None.
Definition GlobalActions.hpp:19
@ COUNT
Amount of items in the enum.
const char * to_string(gui::widgets::PositionWithFrame::ReferenceFrame refFrame)
Converts the enum to a string.
@ ConstNN
Constant value at zero altitude.
@ ISA
ICAO Standard Atmosphere.
double calcAbsoluteTemperature(double altitudeMSL, TemperatureModel temperatureModel)
Calculates the absolute temperature.
TemperatureModel
Available temperature Models.
Definition Temperature.hpp:21
bool ComboTemperatureModel(const char *label, TemperatureModel &temperatureModel)
Shows a ComboBox to select the temperature model.