-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwheels.html
88 lines (74 loc) · 4.06 KB
/
wheels.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="web/css/bootstrap.min.css">
<title>TIM - Tarcin Intelligence Machine</title>
<script src="web/js/popper.min.js"></script>
<script src="web/js/jquery.min.js"></script>
<script src="web/js/jquery-ui.min.js"></script>
<!-- <script src="js/toolbox.js"></script> -->
<link rel="stylesheet" href="web/css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Tomorrow:300,400,500&display=swap" rel="stylesheet">
<script defer src="web/js/icons.min.js"></script>
</head>
<body style="height: 100%;">
<div class="container-fluid" style="height: 100%;">
<div class="row align-items-center" style="height: 100%;">
<div class="col">
<div class="row">
<div class="col-sm-6" style="text-align: center; padding: 12px;">
<div class="joystick-wrapper" id="left-joystick" style="display: none;">
</div>
</div>
<div class="col-sm-6" style="text-align: center; padding: 12px;">
<div class="joystick-wrapper" id="right-joystick" style="display: none;">
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12" style="text-align: center; padding: 12px;">
<div class="joystick-buttons" style="text-align: center;">
<button type="button" id="btn-fw" class="btn btn-danger btn-lg">Front</button>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-6" style="text-align: center; padding: 12px;">
<div class="joystick-buttons" style="text-align: right;">
<button type="button" id="btn-lt" class="btn btn-danger btn-lg" style="margin-right: 32px;">Left</button>
</div>
</div>
<div class="col-sm-6" style="text-align: center; padding: 12px;">
<div class="joystick-buttons" style="text-align: left;">
<button type="button" id="btn-rt" class="btn btn-danger btn-lg" style="margin-left: 32px;">Right</button>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12" style="text-align: center; padding: 12px;">
<div class="joystick-buttons" style="text-align: center;">
<button type="button" id="btn-bw" class="btn btn-danger btn-lg">Back</button>
</div>
</div>
</div>
<div class="row align-items-center">
<div class="col-sm-10" style="text-align: center; padding: 12px;">
<input class="form-control" type="text" placeholder="Message">
</div>
<div class="col-sm-2" style="text-align: center; padding: 12px;">
<div class="joystick-buttons" style="text-align: center;">
<button type="button" id="btn-rt" class="btn btn-danger btn-block"><i class="fas fa-play" id="send-btn"></i> Send</button>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="web/js/nipplejs.js"></script>
<script src="web/js/comm.js"></script>
<script src="web/js/remote.js"></script>
<script src="web/js/mqtt.js"></script>
<script src="web/js/mqttClient.js"></script>
</body>
</html>