-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpztbl.txt
92 lines (89 loc) · 1.09 KB
/
pztbl.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// Lookup table converting pressure in Pa to altitude in cm.
// Each LUT entry is the altitude in cm corresponding to an implicit
// pressure value, calculated as [PA_INIT - 1024*index] in Pa.
// The table is calculated for a nominal sea-level pressure = 101325 Pa.
#define PZLUT_ENTRIES 80
#define PA_INIT 106956L
#define PA_DELTA 1024L
const S32 gPZTbl[PZLUT_ENTRIES] = {
-45853,
-37662,
-29407,
-21087,
-12700,
-4245,
4279,
12874,
21540,
30279,
39093,
47982,
56949,
65995,
75121,
84330,
93622,
102999,
112464,
122018,
131663,
141401,
151233,
161163,
171192,
181323,
191557,
201897,
212346,
222907,
233581,
244372,
255283,
266316,
277475,
288763,
300184,
311740,
323436,
335275,
347262,
359400,
371695,
384149,
396769,
409559,
422525,
435671,
449004,
462530,
476255,
490185,
504328,
518691,
533282,
548109,
563181,
578506,
594096,
609960,
626109,
642555,
659310,
676388,
693803,
711571,
729706,
748228,
767155,
786507,
806306,
826576,
847343,
868635,
890482,
912918,
935980,
959708,
984147,
1009345
};