-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
57 lines (48 loc) · 1.9 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="icon" type="image/x-icon" href="./images/favicon.svg">
<title>RCLWASM</title>
</head>
<body>
<script src="./rosWorkers/rosMain.js"></script>
<h2>ROS Client Libraries: <code>rclwasm</code></h2>
<h3>Publisher</h3>
<div class="demoBox">
<div class="inputRcl">
<form id="publisherForm">
<input type="text" name="rosnodeName" value="nodeName"><br>
<input type="text" name="topicName" value="topicName"><br>
<input type="text" name="message" value="messageString"><br>
<input type="text" name="mseconds" value="timeSeconds">
</form>
</div>
<div class="buttonRcl">
<button class="startBtn" onclick="startRCLPub()">START</button>
<button class="stopBtn" onclick="stopRCLPub()">STOP</button>
<button class="clearBtn" onclick="clearRCLPub()">CLEAR</button>
</div>
<div class="outputRcl">
<textarea id="rclpubOutput" rows="8"></textarea>
</div>
</div>
<h3>Subscriber</h3>
<div class="demoBox">
<div class="inputRcl">
<form id="subscriberForm">
<input type="text" name="rosnodeName" value="nodeName"><br>
<input type="text" name="topicName" value="topicName"><br>
</form>
</div>
<div class="buttonRcl">
<button class="startBtn" onclick="startRCLSub()">START</button>
<button class="stopBtn" onclick="stopRCLSub()">STOP</button>
<button class="clearBtn" onclick="clearRCLSub()">CLEAR</button>
</div>
<div class="outputRcl">
<textarea id="rclsubOutput" rows="8"></textarea>
</div>
</div>
</body>