0.2.0
Loading...
Searching...
No Matches
Pressure.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 PressureModel : int
21{
22 None,
23 ConstNN,
24 ISA,
25 GPT2,
26 GPT3,
27 COUNT,
28};
29
33const char* to_string(PressureModel pressureModel);
34
38bool ComboPressureModel(const char* label, PressureModel& pressureModel);
39
44[[nodiscard]] double calcTotalPressure(double altitudeMSL, PressureModel pressureModel);
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.
double calcTotalPressure(double altitudeMSL, PressureModel pressureModel)
Calculates the total pressure.
PressureModel
Available pressure Models.
Definition Pressure.hpp:21
@ ConstNN
Constant value at zero altitude.
@ ISA
ICAO Standard Atmosphere.
bool ComboPressureModel(const char *label, PressureModel &pressureModel)
Shows a ComboBox to select the pressure model.