-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
218 lines (214 loc) · 6.04 KB
/
Copy pathindex.html
File metadata and controls
218 lines (214 loc) · 6.04 KB
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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html lang="en">
<head>
<title>LoopMIT</title>
<link rel="icon" type="image/x-icon" href="assets/LoopLogoGradient.jpg" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="custom-error-popup" id="customErrorPopup">
<p id="customErrorMessage"></p>
<button onclick="hideCustomError()">OK</button>
</div>
<div class="container">
<div class="logo_section">
<img id="podImage" src="./assets/looplogo.jpeg" alt="Loop MIT Logo" />
</div>
<div class="pod-info">
<div class="slider-container">
<input
type="range"
min="0"
max="100"
value="0"
id="myRange"
onchange="updateDistance()"
/>
<p>
Distance Travelled:
<span id="demo" style="font-weight: bold">0</span>
</p>
</div>
<button class="button2">START</button>
<button class="button3">STOP</button>
<button class="button1">ESTOP</button>
</div>
<div class="sec_main" style="display: flex">
<div class="sec_lim_acc">
<div class="horizontal-section">
<div>
<p>Acceleration</p>
<button
id="acceleration"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 10px;
"
>
100 ms^-2
</button>
</div>
<div>
<p>Voltage</p>
<button
id="voltage"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 10px;
"
>
200 V
</button>
</div>
</div>
<div class="horizontal-section" style="width: 440px; margin: 10px">
<div class="second_section">
<p>LIM Temperature</p>
<button
style="font-size: 30px; border-radius: 10px; height: 100px"
id="lim_temp"
>
45°C
</button>
</div>
</div>
</div>
<div class="horizontal-section">
<div class="second_section" style="margin: 10px">
<p>High Voltage Battery</p>
<div class="high-voltage-buttons">
<button
id="high_battery_temp"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 25px;
"
>
40°C
</button>
<button
id="high_battery_voltage"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 25px;
"
>
50 V
</button>
</div>
<div class="high-voltage-buttons">
<button
id="high_battery_power"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 25px;
"
>
200W
</button>
<button
id="high_battery_current"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 25px;
"
>
100A
</button>
</div>
</div>
<div class="second_section">
<p>Low Voltage Battery</p>
<div class="low-voltage-buttons">
<button
id="low_battery_temp"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 25px;
"
>
55°C
</button>
<button
id="low_battery_voltage"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 25px;
"
>
20 V
</button>
</div>
<div class="low-voltage-buttons">
<button
id="low_battery_power"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 25px;
"
>
35W
</button>
<button
id="low_battery_current"
style="
font-size: 30px;
border-radius: 10px;
height: 100px;
margin: 25px;
"
>
50A
</button>
</div>
</div>
</div>
</div>
<div class="sensors-info">
<div class="sensor-container">
<p>Proximity Sensor</p>
<button id="proximity">2 cm</button>
</div>
<div class="sensor-container">
<p>Gap Height</p>
<button id="gap_height">1.5 mm</button>
</div>
<div class="sensor-container">
<p>Pressure Sensor</p>
<button id="pressure">100 Pa</button>
</div>
<div class="sensor-container">
<p>Propulsion</p>
<button>READY</button>
</div>
<div class="sensor-container">
<p>Brakes</p>
<button>OFF</button>
</div>
<div class="sensor-container">
<p>Levitation</p>
<button>READY</button>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>