-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
265 lines (203 loc) · 7.6 KB
/
thesis.tex
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
%
\documentclass[11pt,twoside,a4paper]{book}
\usepackage[shorthands=off,english]{babel} % package for multilingual support
\RequirePackage{iftex}
\ifPDFTeX
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\else
\RequirePackage{fontspec} % UFT8 fonts for LuaLaTeX
\setmainfont{Latin Modern Roman}
\fi
\usepackage[ backend=biber
, style=numeric
, sortlocale=en_US
, bibencoding=UTF8
, maxcitenames=3
, maxbibnames=100
, giveninits=true
]{biblatex}
\usepackage{csquotes}
\usepackage{xcolor}
\definecolor{dark-red}{rgb}{0.6,0.15,0.15}
\definecolor{dark-green}{rgb}{0.15,0.4,0.15}
\definecolor{medium-blue}{rgb}{0,0,0.5}
\usepackage{minted}
\usepackage{pdfpages}
\usepackage{float}
\makeatletter
% custom float style, derived from ruled
% - caption is at the bottom
% - spaces before and after figure are larger
% - rules are thinner
\newcommand\floatc@botruled[2]{{\@fs@cfont #1} #2\par}
\newcommand\fs@botruled{\def\@fs@cfont{\bfseries}\let\@fs@capt\floatc@botruled
\def\@fs@pre{\hrule\kern0.5\abovecaptionskip}%
\def\@fs@post{\kern0.5\abovecaptionskip\hrule\kern0.5\abovecaptionskip}%
\def\@fs@mid{\kern0.5\abovecaptionskip \kern0.5\abovecaptionskip}%
\let\@fs@iftopcapt\iffalse}
\makeatother
\floatstyle{botruled}
\restylefloat{figure}
\usepackage[labelfont=bf]{caption}
\addtolength{\textfloatsep}{-0.3cm}
\usepackage{graphicx}
\usepackage{xspace}
\usepackage{siunitx}
\usepackage{dsfont}
\usepackage{bytefield}
\usepackage{subcaption}
% \newcommand\todo[1]{\noindent\textcolor{red}{(#1)}}
\newcommand{\FI}{Faculty of Informatics}
\newcommand{\MU}{Masaryk University}
\newcommand{\Jirik}{prof. RNDr. Jiří Barnat, Ph.D.}
\newcommand{\thesistitle}{RoFI -- Distributed Metamorphic Robots}
\newcommand{\thesissubtitle}{Master's thesis}
\newcommand{\thesisauthor}{Jan Mrázek}
\newcommand{\thesisYearCity}{Brno, 2018}
\newcommand{\thesisadvisor}{\Jirik}
\newcommand{\cpp}[1]{\mintinline[breaklines]{cpp}{#1}}
\addbibresource{bibliography.bib}
% widdow and club fix
\clubpenalty 10000
\widowpenalty 10000
\usepackage{setspace}
\usepackage{placeins}
\addtolength\textwidth{5pt}
\addtolength\oddsidemargin{1cm}
\addtolength\evensidemargin{-1cm}
\usepackage[inline]{enumitem}
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}%
\setlength{\parskip}{0pt}%
\setlength{\topsep}{0pt}%
\setlength{\partopsep}{0pt}}
\usepackage[ pdfauthor={Jan Mrázek}
, pdftitle={RoFI -- Distributed Metamorphic Robots},
, pdfsubject={Master's Thesis},
, plainpages=false
, pdfpagelabels
, unicode
, draft=false
, colorlinks=true
, linkcolor={dark-red}
, citecolor={dark-green}
, urlcolor={medium-blue}
, unicode=true
]{hyperref}
% \punct command allows to shift the footnotemark above a punctuation
% Magic by František 'Fanda' Blahoudek
\newlength{\spc} % declare a variable to save spacing value
\newcommand{\punct}[1]{%
\settowidth{\spc}{#1}% set value of \spc variable to the width of #1 argument
\addtolength{\spc}{-1.8\spc}% subtract from \spc about two (1.8) of its values making its magnitude negative
#1% print the optional argument
\hspace*{\spc}% print an additional negative spacing stored in \spc after #1
}
\begin{document}
% \DocLength{evensidemargin}
% \DocLength{oddsidemargin}
% \layout
% initial pages from Mornfall + modifications
\frontmatter
\pagestyle{empty}
\begin{center}
{\Large \sc \FI, \MU}
\vskip4em
\includegraphics[width = 4cm, height = 4cm] {logo_fi.pdf}
\vskip4em
{\begin{spacing}{1}
\Huge \bf \thesistitle
\end{spacing}}
\vskip2em
{\Large \sc \thesissubtitle}
\vskip4em
{\LARGE \bf \thesisauthor}
\vfill
{\hfill \large \thesisYearCity}
\end{center}
\cleardoublepage
% only in print version!
\iffalse %@ifprint
\includepdf[pages={1}]{assignment.pdf}
\cleardoublepage
\section*{Statement of an author of a school work}
Student´s Name and UČO: Jan Mrázek, 422279
\vskip1em
I acknowledge that the Masaryk University (MU) is entitled in accordance with
the law (Article 35 § 3 and 4 of the Copyright Act No. 121/2000 Sb.) to use for
educational and other internal purposes on a non-commercial basis my thesis or
my other school work, which I authored to fulfill my study obligations towards
MU (my work).
The use of my work for internal purposes includes the use of the original work
as well as of its derivatives and might consists also of assigning of my work
for additional processing to another student or a member of the MU academic
community, or of making it available as a basis for a creation of a derivative
thesis or other school work at MU. Any such use of my work will acknowledge my
authorship, the original name and source of my work and will be conducted
exclusively in order to further develop educational and other interests of MU
related to further development and utilization of my work within its academic
community.
I also acknowledge my duty to inform MU at the latest upon the submission of my
work about my intent to further develop or use my work at MU or elsewhere or
about any other relevant issues related to my work.
\vskip2em
Brno, \today
\vskip2em
\hfill Student´s signature
\cleardoublepage
\fi
\section*{Declaration} % from Mornfall
Thereby I declare that this thesis is my original work, which I have
created on my own. All sources and literature used in writing the
thesis, as well as any quoted material, are properly cited, including
full reference to its source.
\vfill
\textbf{Advisor:} \thesisadvisor
\cleardoublepage
\section*{Abstract}
This work presents the RoFI platform -- a platform of distributed metamorphic
robots. The individual robots (modules) can mechanically connect and therefore,
build larger robots (systems) with more capabilities compared to a single
module. The work gives the platform specification and proposes a formalism to
reason about RoFI systems. We develop a suitable docking system for coupling the
robots together, tackle the problem of inter-module communication, design a
primary module of the platform and give means to program such robots. We also
present some of the prototypes based on our designs.
\section*{Keywords}
robots, docking, modular, networking, distributed
\cleardoublepage
\section*{Acknowledgements}
\noindent \emph{“Do what I do. Hold tight and pretend it’s a plan!”}
\hfill — The Doctor, Season 7, Christmas Special
\bigskip
\noindent \emph{“The universe is big. It’s vast and complicated and ridiculous.
And sometimes, very rarely, impossible things just happen and we call them
miracles.”}
\hfill — The Doctor, Season 5, Episode 12
\bigskip
\noindent Thank you all who\footnote{I~hope you know who you are -- if you are
unsure whether this applies to you as well, feel free to e-mail me.} helped to
make this “miracle” happen according to the “plan” and I apologize to those who
were sidelined during the “plan” execution\punct{.}\footnote{You can ask for a
compensation via a hand-written letter brought by an avian carrier.}
\cleardoublepage
\thispagestyle{empty}
\pagestyle{headings}
\pdfbookmark{\contentsname}{toc}
\tableofcontents
\mainmatter
\input{introduction.tex}
\input{rofi_platform.tex}
\input{universal_module.tex}
\input{rofi_driver.tex}
\input{prototypes.tex}
\input{conclusion.tex}
\chapter*{Bibliography}
\addcontentsline{toc}{chapter}{Bibliography}
\markboth{}{} % avoid headers from last chapter in bibliography
\printbibliography[heading=none]
\appendix
\input{rofi_driver_interface.tex}
\end{document}