-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (80 loc) · 3.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="favicon.ico">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<title>Two-Link Manipulator</title>
</head>
<body>
<div class="container">
<div class="row mt-3">
<div class="col-2 d-flex align-items-center">
<label for="torque-file" class="form-label">Open Your Torque File</label>
</div>
<div class="col-10">
<input class="form-control" type="file" accept=".csv, .txt" id="torque-file">
</div>
</div>
<div class="row mt-2">
<div class="col-3">
<div class="btn-group" role="group" aria-label="Basic radio toggle button group">
<input type="radio" class="btn-check" name="btnradio" id="start-simulator" autocomplete="off" disabled>
<label class="btn btn-outline-primary" for="start-simulator">Start</label>
<input type="radio" class="btn-check" name="btnradio" id="reset-simulator" autocomplete="off" disabled>
<label class="btn btn-outline-primary" for="reset-simulator">Reset</label>
</div>
</div>
<div class="col-3">
<div class="btn-group" role="group" aria-label="Basic radio toggle button group">
<input type="radio" class="btn-check" name="btnradio" id="show-target" autocomplete="off">
<label class="btn btn-outline-primary" for="show-target">Target</label>
<input type="radio" class="btn-check" name="btnradio" id="save-simulator" autocomplete="off">
<label class="btn btn-outline-primary" for="save-simulator">Save</label>
</div>
</div>
<div class="col-6 d-flex align-items-center">
<div id="elapsed-time"></div>
</div>
</div>
<div class="row mt-2 mb-2">
<div class="col-12">
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 0%;" aria-valuenow="0" aria-valuemin="0"
aria-valuemax="100" id="simulation-progress">
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<div id="canvas-holder"></div>
</div>
</div>
<div class="row mb-2" id="footer">
<div class="col-12">
<div class="text-center">
This project is developed on
<a href="https://github.com/muneue-suwa/two-link-manipulator-simulation" target="_blank"
rel="noopener noreferrer">
GitHub
</a>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/p5@0.10.2/lib/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/10.4.3/math.js"></script>
<script src="js/version.js"></script>
<script src="js/manipulator.js"></script>
<script src="js/convertCoordinates.js"></script>
<script src="js/main.js"></script>
</div>
</body>
</html>