-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (70 loc) · 2.39 KB
/
Copy pathindex.html
File metadata and controls
93 lines (70 loc) · 2.39 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
<!DOCTYPE html>
<html>
<head>
<title>Control Interface</title>
<link rel="stylesheet" href="css.css">
</head>
<body>
<div id="container">
<form action="submit.php" method="post">
<h2>Motor1:</h2><br>
<input type="range" min="0" max="180" value="0" class="slider" id="myRange1" name="m1">
<p>Value: <span id = "value1"></span></p>
<br>
<h2>Motor2:</h2><br>
<input type="range" min="0" max="180" value="0" class="slider" id="myRange2" name="m2">
<p>Value: <span id = "value2"></span></p>
<br>
<h2>Motor3:</h2><br>
<input type="range" min="0" max="180" value="0" class="slider" id="myRange3" name="m3">
<p>Value: <span id = "value3"></span></p>
<br>
<h2>Motor4:</h2><br>
<input type="range" min="0" max="180" value="0" class="slider" id="myRange4" name="m4">
<p>Value: <span id = "value4"></span></p>
<br>
<h2>Motor5:</h2><br>
<input type="range" min="0" max="180" value="0" class="slider" id="myRange5" name="m5">
<p>Value: <span id = "value5"></span></p>
<br>
<h2>Motor6:</h2><br>
<input type="range" min="0" max="180" value="0" class="slider" id="myRange6" name="m6">
<p>Value: <span id = "value6"></span></p>
<input type="submit" value="save" name= save >
<input type="submit" value = "ON" name = on >
</form>
<br>
<h2> Base Control</h2>
<form action="submitt.php" method="post">
<div class="container">
<div class="top">
<input type="submit" value="Forward" name= "f" >
</div>
<div class="center" >
<input type="submit" value = "Left" name = "l" >
<input type="submit" value="Stop" name="s">
<input type="submit" value = "Right" name="r">
</div>
<div class= "bottom">
<input type="submit" value = "Backward" name = "b">
</div>
</div>
</form>
</div>
</div>
</body>
<script src="javascript.js"></script>
<script>
window.watsonAssistantChatOptions = {
integrationID: "3708468e-0d01-4cae-b719-3bb94fe7a897", // The ID of this integration.
region: "eu-gb", // The region your integration is hosted in.
serviceInstanceID: "02622a81-a275-4989-905a-b577fff23612", // The ID of your service instance.
onLoad: function(instance) { instance.render(); }
};
setTimeout(function(){
const t=document.createElement('script');
t.src="https://web-chat.global.assistant.watson.appdomain.cloud/loadWatsonAssistantChat.js";
document.head.appendChild(t);
});
</script>
</html>