-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstructions.html
288 lines (275 loc) · 10.8 KB
/
instructions.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Knowledge</title>
<!-- CSS -->
<link
href="https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic"
rel="stylesheet"
type="text/css"
/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
<link rel="stylesheet" href="assets/css/main.css" />
</head>
<body class="single-knowledgebase">
<!-- Header -->
<header class="hero overlay">
<nav class="navbar">
<div class="container">
<div class="navbar-header">
<button
type="button"
class="navbar-toggle collapsed"
data-toggle="collapse"
data-target="#navbar-collapse"
aria-expanded="false"
>
<span class="sr-only">Toggle navigation</span>
<span class="fa fa-bars"></span>
</button>
<a href="/index.html" class="brand">
<img src="assets/images/logo.png" alt="Knowledge" />
</a>
</div>
</div>
</nav>
<div class="masthead single-masthead">
<div class="container">
<div class="row">
<div class="col-md-8">
<form>
<input
type="text"
class="search-field"
placeholder="Search Something ... "
/>
<button type="submit"><i class="fa fa-search"></i></button>
</form>
</div>
<div class="col-md-4">
<a href="https://github.com/vastverse" target="blank" class="btn btn-hero">
<span class="icon-git"></span> Github Project<span
class="icon-right"
></span>
</a>
</div>
</div>
</div>
</div>
</header>
<!-- Breadcrumbs -->
<div class="breadcrumbs">
<div class="container">
<ol>
<li><a href="/">Home</a></li>
<li><a href="archive.html">Knowledge Base</a></li>
<li class="active">Getting Started With API</li>
</ol>
</div>
</div>
<!-- Main Content -->
<main class="content-wrapper">
<div class="container">
<div class="col-lg-8">
<article class="post">
<h1>Instructions</h1>
<ul class="meta">
<li><span>Created :</span> Feb, 04, 2022</li>
<li><span>Last Updated:</span> Feb, 04, 2022</li>
</ul>
<div class="guide">
<ol>
<li>
Checkout the dev_CFM branch from VAST.js <br />
https://github.com/imonology/VAST.js/tree/dev_CFM and install
the node modules (npm install)
</li>
<li>
Checkout the SPS branch from
https://github.com/hebrecht/aedes/tree/SPS <br />
install the node modules (npm install)
</li>
<li>
Install the local VAST.js module for aedes
<br />
<ul>
<li>Make sure you are in the aedes directory</li>
<li>
npm install ${path to local VAST.js module} (npm install
../VAST.js)
</li>
</ul>
</li>
<li>
Ensure that the global_server of VAST.js is running
<br />
<ul>
<li>Make sure you are in the VAST.js directory</li>
<li>node test/global_server_starter.js</li>
</ul>
</li>
<li>
Run the modified MQTT broker that is the gateway
<br />
<ul>
<li>Make sure you are in the aedes directory</li>
<li>node example/example_VAST_GW.js</li>
</ul>
</li>
<li>
Run a test subscriber
<br />
<ul>
<li>Make sure you are in the aedes directory</li>
<li>node example/subscriber.js</li>
</ul>
</li>
<li>
Run a test publisher
<br />
<ul>
<li>Make sure you are in the aedes directory</li>
<li>node example/publisher.js</li>
</ul>
</li>
</ol>
<div class="widget widget-support-forum">
<span class="icon icon-forum"></span>
<h3>For the subscriber, you should see the following:</h3>
<h4>node example/subscriber.js</h4>
<p>
Subscribing to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Spatial MQTT #0<10,10,30><br />
Spatial MQTT #1 <10,10,30><br />
Spatial MQTT #2 <10,10,30><br />
Spatial MQTT #3 <10,10,30><br />
Spatial MQTT #4 <10,10,30><br />
Spatial MQTT #5 <10,10,30><br />
Spatial MQTT #6 <10,10,30><br />
Spatial MQTT #7 <10,10,30><br />
Spatial MQTT #8 <10,10,30><br />
Spatial MQTT #9 <10,10,30><br />
Spatial MQTT #10 <10,10,30>
</p>
</div>
<div class="widget widget-support-forum">
<span class="icon icon-forum"></span>
<h3>On the publisher you should see the following:</h3>
<h4>eehebrecht:aedes hebrecht$ node example/publisher.js</h4>
<p>
Publishing message 0 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 1 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 2 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 3 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 4 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 5 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 6 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 7 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 8 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 9 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
Publishing message 10 to topic: sp:
<{"x":10,"y":10,"radius":30,"channel":1}><br />
</p>
</div>
</div>
</article>
<div class="feedback">
<h3>Was this article helpful to you?</h3>
<a class="btn btn-default" href="#">Yes</a>
<a class="btn btn-default" href="#">No</a>
<form>
<input type="text" placeholder="How else could we improve it ?" />
<input
type="submit"
class="btn btn-success"
value="Submit Feedback"
/>
</form>
</div>
</div>
<div class="col-lg-4">
<div class="sidebar">
<div class="widget widget-support-forum">
<span class="icon icon-forum"></span>
<h4>Looking for help? Join Community</h4>
<p>
Couldn’t find what your are looking for ? Why not join out
support forums and let us help you.
</p>
<a href="https://vastverse.net/contact/" class="btn btn-success">Support Forum</a>
</div>
<!--******************************* Lists *******************************-->
<div class="pt-50">
<div class="widget widget_categories">
<span class="icon icon-folder"></span>
<h4>Knowledgebase Topics Categories</h4>
<ul>
<li>
<a href="#"> Introduction </a>
<ul>
<li><a href="#"> How to use this documentation? </a></li>
<li><a href="#"> How to find topics? </a></li>
<li><a href="#"> What is included and why? </a></li>
<li><a href="#"> Basic knowledge requirments. </a></li>
<li><a href="#"> Getting Started & What is next. </a></li>
</ul>
</li>
<li><a href="#"> Installation & Activation </a></li>
<li><a href="#"> Premium Members Features </a></li>
<li><a href="#"> API Usage & Guide lines </a></li>
<li><a href="#"> Getting Started & What is next. </a></li>
<li><a href="#"> Installation & Activation </a></li>
<li><a href="#"> Premium Members Features </a></li>
<li><a href="#"> API Usage & Guide lines </a></li>
<li><a href="#"> Getting Started & What is next. </a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</main>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-2 col-md-3 col-sm-3">
<a href="#" class="brand">
<img src="assets/images/logo2.png" alt="Knowledge" />
<span class="circle"></span>
</a>
</div>
<div class="col-lg-7 col-md-5 col-sm-9">
<ul class="footer-links">
<li><a href="#">Features</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Community</a></li>
<li><a href="login.html">Login</a></li>
</ul>
</div>
<div class="col-lg-3 col-md-4 col-sm-12">
<div class="copyright">
<p>© 2016 knowledge Copyrights</p>
</div>
</div>
</div>
</div>
</footer>
<script src="assets/js/jquery-1.12.3.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>