-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.html
304 lines (250 loc) · 9.13 KB
/
README.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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE html>
<!--
Generated using Markdown to HTML Converter by Chris Pyles.
More at https://github.com/chrispyles/markdown-to-html
-->
<html>
<head>
<title>ROS Kávézó</title>
<meta name="description" content="ROS Kávézó">
<meta name="author" content="Réda Vince">
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700&display=swap" rel="stylesheet"> -->
<!-- Boostrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<style type="text/css">
/* CSS for MD to HTML Converter
by Chris Pyles
body {
margin-top: -27px;
margin-left: 0;
background-color: #00b0da;
}
h1, h2, h3, h4, h5, h6 {
font-family: '=', sans-serif;
font-weight: 600;
}
h1, h2 {
letter-spacing: 1px;
}
h1 {
font-size: 30pt;
}
h2 {
font-size: 20pt;
}
h3 {
font-size: 14pt;
}
p, ul, th, td, ol {
font-family: '=', sans-serif;
font-size: 12pt;
}
p#header {
color: white;
padding-left: 235px;
}
ul.nav {
list-style-type: none;
padding-left: 15px;
}
li.nav {
padding-left: 20px;
width: 230px;
}
li.nav:hover {
background-color: rgba(256, 256, 256, 0.5);
}
th, td {
border-top: 1px solid black;
border-left: 1px solid black;
text-align: center;
padding: 5px 2px;
}
th {
font-weight: 600;
}
div {
width: 800px;
margin: 0 0 0 255px;
background-color: white;
padding: 0 20px;
margin-top: -27px;
}
div#top {
background-color: #46535e;
margin-top: 27px;
width: 100%;
height: 52px;
margin-left: 0;
position: fixed;
z-index: 1;
}
div#body {
position: absolute;
margin-top: 60px;
overflow: scroll;
}
table {
width: 75%;
margin: 0 auto;
border-right: 1px solid black;
border-bottom: 1px solid black;
border-spacing: 0;
table-layout: fixed;
}
table#header {
width: 100%;
height: auto;
border: none;
}
p.code {
width: 95%;
margin: 10px auto;
padding: 10px;
background-color: rgba(222, 222, 222, 0.5);
}
nav {
position: fixed;
width: 250px;
padding-left: 5px;
height: 100%;
background-color: #46535e;
color: white;
margin-top: 36px;
padding-top: 6px;
z-index: 2;
}
a.nav:link, a.nav:hover, a.nav:visited, a.nav:active {
color: white;
}
*/
/* Resize div for Pygments. */
div.highlight {
font-size: 12pt;
width: 98%;
margin: 10px auto;
padding: 10px;
background-color: #1d1e19;
color: #f6f7ee !important;
overflow: scroll;
border-radius: 5px;
}
pre {
margin: 0;
color: #f6f7ee !important;
}
.p {
color: #f6f7ee !important;
}
/* Below is imported the style from Pygments. */
.hll { background-color: #ffffcc }
.c { color: #fd8700; font-style: italic } /* Comment */
.g { color: #fd8700 } /* Generic */
.k { color: #53d1ed; font-weight: bold } /* Keyword */
.n { color: #f6f7ee } /* Name */
.o { color: #f7005f } /* Operator */
.ch { color: #fd8700; font-style: italic } /* Comment.Hashbang */
.cm { color: #fd8700; font-style: italic } /* Comment.Multiline */
.cp { color: #fd8700; font-style: italic } /* Comment.Preproc */
.cpf { color: #fd8700; font-style: italic } /* Comment.PreprocFile */
.c1 { color: #fd8700; font-style: italic } /* Comment.Single */
.cs { color: #fd8700; font-style: italic } /* Comment.Special */
.gd { color: #fd8700 } /* Generic.Deleted */
.ge { color: #fd8700 } /* Generic.Emph */
.gr { color: #fd8700 } /* Generic.Error */
.gh { color: #fd8700 } /* Generic.Heading */
.gi { color: #fd8700 } /* Generic.Inserted */
.go { color: #fd8700 } /* Generic.Output */
.gp { color: #fd8700 } /* Generic.Prompt */
.gs { color: #fd8700 } /* Generic.Strong */
.gu { color: #fd8700 } /* Generic.Subheading */
.gt { color: #fd8700 } /* Generic.Traceback */
.kc { color: #53d1ed; font-weight: bold } /* Keyword.Constant */
.kd { color: #53d1ed; font-weight: bold } /* Keyword.Declaration */
.kn { color: #53d1ed; font-weight: bold } /* Keyword.Namespace */
.kp { color: #53d1ed; font-weight: bold } /* Keyword.Pseudo */
.kr { color: #53d1ed; font-weight: bold } /* Keyword.Reserved */
.kt { color: #53d1ed; font-weight: bold } /* Keyword.Type */
.m { color: #9d60ff } /* Literal.Number */
.s { color: #e0d75a } /* Literal.String */
.na { color: #f6f7ee } /* Name.Attribute */
.nb { color: #f6f7ee } /* Name.Builtin */
.nc { color: #53d1ed; font-weight: bold } /* Name.Class */
.no { color: #f6f7ee } /* Name.Constant */
.nd { color: #f6f7ee } /* Name.Decorator */
.ni { color: #f6f7ee } /* Name.Entity */
.ne { color: #f6f7ee } /* Name.Exception */
.nf { color: #96e309 } /* Name.Function */
.nl { color: #f6f7ee } /* Name.Label */
.nn { color: #f6f7ee } /* Name.Namespace */
.nx { color: #f6f7ee } /* Name.Other */
.py { color: #f6f7ee } /* Name.Property */
.nt { color: #f6f7ee } /* Name.Tag */
.nv { color: #f6f7ee } /* Name.Variable */
.ow { color: #f7005f } /* Operator.Word */
.mb { color: #9d60ff } /* Literal.Number.Bin */
.mf { color: #9d60ff } /* Literal.Number.Float */
.mh { color: #9d60ff } /* Literal.Number.Hex */
.mi { color: #9d60ff } /* Literal.Number.Integer */
.mo { color: #9d60ff } /* Literal.Number.Oct */
.sa { color: #e0d75a } /* Literal.String.Affix */
.sb { color: #e0d75a } /* Literal.String.Backtick */
.sc { color: #e0d75a } /* Literal.String.Char */
.dl { color: #e0d75a } /* Literal.String.Delimiter */
.sd { color: #e0d75a } /* Literal.String.Doc */
.s2 { color: #e0d75a } /* Literal.String.Double */
.se { color: #e0d75a } /* Literal.String.Escape */
.sh { color: #e0d75a } /* Literal.String.Heredoc */
.si { color: #e0d75a } /* Literal.String.Interpol */
.sx { color: #e0d75a } /* Literal.String.Other */
.sr { color: #e0d75a } /* Literal.String.Regex */
.s1 { color: #e0d75a } /* Literal.String.Single */
.ss { color: #e0d75a } /* Literal.String.Symbol */
.bp { color: #f6f7ee } /* Name.Builtin.Pseudo */
.fm { color: #96e309 } /* Name.Function.Magic */
.vc { color: #f6f7ee } /* Name.Variable.Class */
.vg { color: #f6f7ee } /* Name.Variable.Global */
.vi { color: #f6f7ee } /* Name.Variable.Instance */
.vm { color: #f6f7ee } /* Name.Variable.Magic */
.il { color: #9d60ff } /* Literal.Number.Integer.Long */
</style>
</head>
<body><nav class="navbar navbar-expand-md navbar-light bg-light">
<a class="navbar-brand" href="#">ROS Kávézó</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active"><a class="nav-link" href=""></a></li>
</ul></div></nav>
<div class="container" id="body">
<p><strong>Sziasztok,</strong> </p>
<p>FONTOS: mindenek előtt a master-t kell elindítani: <code>roscore</code> </p>
<p>Csináltam pár bag filet, ezek infót küldenek a mi node-unknak,
ezeket lejátszva tudjátok tesztelni a programot,
mintha valóban mozogna a robot. <br />
Amit küldünk neki majd pozíciót nem fogja látni, mivel ez
csak egy felvétel, minden másra viszont jó.</p>
<p>Ezekkel lehet elindítani a bag fileokat (nyilván egyszerre csak egyet). <br />
Az <code>-l</code> option loop-ot jelent, szóval végtelenítve van. </p>
<p><code>rosbag play -l $(rospack find porszilo_telepresence)/bags/porszilo_standing.bag</code> <br />
<code>rosbag play -l $(rospack find porszilo_telepresence)/bags/porszilo_moving.bag</code> </p>
<p>Ezzel lehet futtatni a programunkat. <br />
<code>rosrun porszilo_telepresence basic_node.py</code> </p>
<p>Ezzel lehet vizualizálni a beérkező infót: <br />
<code>rosrun rviz rviz -d $(rospack find porszilo_telepresence)/config/porszilo.rviz</code> </p>
<p>Ezzel lehet kirajzolni a hálózatot. <br />
<code>rosrun rqt_graph rqt_graph</code> </p>
<p>Ne felejtsétek a "~/.bashrc"-be beleírni a következő parancsokat, különben a hivatkozások nem fognak működni: <br />
<code>source /opt/ros/${ROS_DISTRO}/setup.bash</code> <br />
<code>source <catkin_ws>/devel/setup.bash</code> </p>
<p>A real-time szimulációt a következő paranccsal tudjátok elindítani: <br />
<code>roslaunch porszilo porszilo.launch</code></p>
<p>Lásd: <code>$(rospack find porszilo_telepresence)/example_screen.png</code> <br />
Lásd: <code>$(rospack find porszilo_telepresence)/example_screen_2.png</code></p>
</div></body>
</html>