-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
203 lines (195 loc) · 7.73 KB
/
index.html
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="AHRS">
<link rel="apple-touch-icon" sizes="948x948" href="images/icons/Icon1x.png">
<link rel="apple-touch-icon" sizes="475x475" href="images/icons/Icon0.5x.png">
<link rel="apple-touch-icon" sizes="712x712" href="images/icons/Icon0.75x.png">
<link rel="shortcut icon" type="image/png" href="images/favicon.ico" />
<meta name="theme-color" content="#000000">
<meta name="viewport" content="viewport-fit=cover, user-scalable=no">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="jquery/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="js/configuration.js"></script>
<script type="text/javascript" src="js/orientation.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<title>AHRS</title>
</head>
<body>
<div id="settings_popup" class="hidden">
<div class="title">- Baro Setting -</div>
<div class="relative"><span id="altimeter_display">29.92</span><span id="altimeter_display_unit" class="small">inHg</span></div>
<div class="altimeter_input">
<div class="number_button">1</div>
<div class="number_button">2</div>
<div class="number_button">3</div>
<div class="number_button">4</div>
<div class="number_button">5</div>
<div class="number_button">6</div>
<div class="number_button">7</div>
<div class="number_button">8</div>
<div class="number_button">9</div>
<div class="number_button">Clr</div>
<div class="number_button">0</div>
<div class="number_button">Ent</div>
</div>
</div>
<div id="settings_menu", class="hidden">
<div class="settings_button noselect" id="align_ahrs">Align AHRS</div>
<div class="settings_button noselect" id="calibrate_gyro">Calibrate Gyro</div>
<div class="settings_spacer"></div>
<div class="settings_button noselect" id="update_baro">Set Baro</div>
<div class="settings_button noselect" id="set_std_baro">Std. Baro</div>
<div class="settings_spacer"></div>
<div class="settings_button noselect" id="toggle_rotation">Toggle Rotation</div>
<div class="settings_spacer"></div>
<div class="settings_button noselect" id="force_update">Force Refresh</div>
<div class="settings_last noselect"></div>
</div>
<div id="settings_overlay" class="hidden"></div>
<div id="overlay">
<h1>NOTICE</h1>
<p>
This display is neither certified nor recomended for use in life-threatening situations. Use only as an aid to situiational awareness.
</p>
<p>
Data for this display comes from the IMU attached to the STRATUX unit, and is not built for aviation applications. Please use good personal judgment when using this display, and always fly with a certified attitude indicator.
</p>
<p>
For best results, lock the screen orientation prior to use. More information available in the '<code><a href="/README.md">readme.md</a></code>' file. Software license available at '<code><a href="/LICENSE">license</a></code>'.
</p>
<p><i>
To acknowledge this message permanently, edit please '<code>configuration.js</code>' on the Raspberry Pi.
</i></p>
<div id="lock_orientation">
<div class="text">Please Lock<br>Orientation!</div>
<div class="logo"></div>
</div>
<h2>
Tap to continue.
</h2>
</div>
<div id="scroll_prevent">
<div id="ahrs_container">
<div id="simulate_tag">
SIMULATING
</div>
<div id="sky_container">
<div id="sky_mask">
<div id="pitch_indicator">
<div id="pitch_tape_scroll"></div>
</div>
</div>
<img src="images/vhor_bar.svg" id="vhor_bar"></img>
<div class="invalid_holder"></div>
</div>
<div id="g_meter">
<div id="g_pointer">
<div id="g_pointer_triangle"></div>
</div>
</div>
<div id="vhorizon" class="noselect">
<div id="user_bars">
<div id="user_angle_pointer"></div>
<div id="left_user_bar"></div>
<div id="center_user_bar"></div>
<div id="center_user_bar_mask"></div>
<div id="right_user_bar"></div>
</div>
</div>
<div id="speed_tape" class="tape noselect">
<div id="speed_tape_scroll">
<div id="speed_tape_index_holder">
<div id="speed_tape_text" class="noselect"></div>
</div>
<div id="speed_tape_tick_holder"></div>
</div>
<!--<div class="tape_shadow"></div>-->
<div id="speed_counter_holder">
<div id="speed_counter">
<div id="speed_counter_text" class="noselect"></div>
<div class="arrow-right"></div>
</div>
</div>
<div id="speed_annun">
<div id="speed_annun_text" class="noselect">GPS GS MPH</div>
</div>
<div id="sat_count">
<div id="sat_count_text" class="noselect">-</div>
</div>
<div id="overheat_flag">
<div id="overheat_flag_text" class="noselect">TEMP</div>
</div>
<div class="invalid_holder"></div>
</div>
<div id="alt_tape" class="tape noselect">
<div id="alt_tape_scroll">
<div id="alt_tape_index_holder">
<div id="alt_tape_text" class="noselect"></div>
</div>
<div id="alt_tape_tick_holder"></div>
</div>
<div id="alt_vspeed">
<div id="vspeed_trail"></div>
<div id="vspeed_tape_index_holder">
<div id="vspeed_tape_text" class="noselect"></div>
</div>
<div id="vspeed_tape_tick_holder"></div>
<div id="vspeed_pointer">
<div id="vspeed_pointer_outer"></div>
</div>
</div>
<!--<div class="tape_shadow"></div>-->
<div id="alt_counter_holder">
<div id="alt_counter">
<div id="alt_counter_text" class="noselect"></div>
<div class="arrow-left"></div>
</div>
</div>
<div id="alt_annun">
<div id="alt_annun_text" class="teal noselect">Baro Altitude <span></span></div>
</div>
<div class="invalid_holder"></div>
</div>
<div id="heading_tape" class="tape shadow noselect">
<div id="heading_tape_holder">
<div id="heading_tape_scroll"></div>
</div>
<div id="heading_annun">
<div id="heading_text" class="noselect">GPS<span>300°</span>TRK</div>
<div id="heading_pointer"></div>
</div>
<div id="hdg_fmu_arrow"></div>
<div class="invalid_holder"></div>
</div>
<div id="readouts" class="noselect">
<div id="slip_skid_holder" class="shifted">
<div class="slip_skid_bar"></div>
<div class="slip_skid_bar slip_skid_bar_right"></div>
<div id="slip_skid_ball"></div>
<div class="invalid_holder"></div>
</div>
<div id="turn_coordinator_holder">
<div class="top_bar"></div>
<div class="middle_bar middle"></div>
<div class="middle_bar left_bar"></div>
<div class="middle_bar right_bar"></div>
<div id="turn_coordinator_indicator">
<div id="tcbar" class="bar"></div>
<div id="tcarrow" class="arrow left hide"></div>
</div>
</div>
<div id="settings_icon" class="shifted">
<div class="menu_bar"></div>
<div class="menu_bar"></div>
<div class="menu_bar"></div>
</div>
</div>
<div id="message_flag"></div>
</div>
</div>
</body>
</html>