-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (77 loc) · 2.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PID CONTROLLER CAR SIMULATOR</title>
<link rel="stylesheet" href="./src/style.css">
</head>
<body>
<script type="module" defer src="/src/main.ts"></script>
<div id="info"></div>
<div id="sim-menu" class="hidden">
<h1>PID Controller Car Simulator</h1>
<br />
<p>
Instructions: You can choose drive the car or do a free hands drive (Automatic).
<br />
<br />
Objetive: Full Brake in Position z=100 (Center of the green square) as soon as possible.
<br />
You've 2 seconds to set up the configuration in mode Simulation.
</p>
<hr />
<p>
<br />
Button Configuration:
<table>
<tr>
<th>Action</th>
<th>Key</th>
</tr>
<tr>
<td>Accelerator</td>
<td>w</td>
</tr>
<tr>
<td>Brake</td>
<td>Space key</td>
</tr>
<tr>
<td>Reverse</td>
<td>s</td>
</tr>
<tr>
<td>Turn Left</td>
<td>a</td>
</tr>
<tr>
<td>Turn Right</td>
<td>d</td>
</tr>
<tr>
<td>Chase Camera</td>
<td>Number 1 key</td>
</tr>
<tr>
<td>Chase Camera Side</td>
<td>Number 2 key</td>
</tr>
</table>
<br />
See the source code on <a href="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/Javier747Belbruno/car-control-simulation" target="_blank">Github</a>
<br />
Created by <a href="https://twitter.com/BelbrunoJavier" target="_blank">Javier Belbruno</a>
<br />
Credits to Typescript, Node.js, Three.js and Cannon.js (Cannon-es) <br> for provide free open source code to the community
making this possible.
</p>
<br />
<button id="free-drive-button">Drive</button>
<br />
<button id="sim-button">Simulate</button>
</div>
<div id="app"></div>
</body>
</html>