XPPlanes constant definitions.
More...
Go to the source code of this file.
|
constexpr double | HPA_STANDARD = 1013.25 |
|
constexpr double | PA_per_M = 11.3 |
| The pressure drops approximately by 11.3 Pa per meter in first 1000 meters above sea level. More...
|
|
constexpr double | FT_per_HPA = (100/PA_per_M)/XPMP2::M_per_FT |
| ft altitude diff per hPa change More...
|
|
constexpr auto | MIN_TS_DIFF = std::chrono::milliseconds(100) |
| Minimum time expected between two position to allow for meaningful interpolation. More...
|
|
constexpr float | MAX_F = 1.25f |
| Maximum f factor for non-location values during interpolation, like attitude, config. More...
|
|
constexpr float | TOUCH_DOWN_TIME = 0.5f |
| How long does the moment of touch down last? [seconds]. More...
|
|
XPPlanes constant definitions.
- Author
- Birger Hoppe
- Copyright
- (c) 2022 Birger Hoppe
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
◆ XPPLANES
#define XPPLANES "XPPlanes" |
◆ FT_per_HPA
constexpr double FT_per_HPA = (100/PA_per_M)/XPMP2::M_per_FT |
|
constexpr |
ft altitude diff per hPa change
◆ HPA_STANDARD
constexpr double HPA_STANDARD = 1013.25 |
|
constexpr |
◆ MAX_F
constexpr float MAX_F = 1.25f |
|
constexpr |
Maximum f
factor for non-location values during interpolation, like attitude, config.
◆ MIN_TS_DIFF
constexpr auto MIN_TS_DIFF = std::chrono::milliseconds(100) |
|
constexpr |
Minimum time expected between two position to allow for meaningful interpolation.
◆ PA_per_M
constexpr double PA_per_M = 11.3 |
|
constexpr |
◆ TOUCH_DOWN_TIME
constexpr float TOUCH_DOWN_TIME = 0.5f |
|
constexpr |
How long does the moment of touch down last? [seconds].