-
Notifications
You must be signed in to change notification settings - Fork 25
/
main.tex
214 lines (185 loc) · 6.87 KB
/
main.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
\documentclass[10pt]{book}
% Used by cover/title pages and PDF attributes
\newcommand{\booktitle}{Controls Engineering in the FIRST Robotics Competition}
\newcommand{\bookdisplaytitle}%
{Controls Engineering in the\\FIRST Robotics Competition}
\newcommand{\bookauthor}{Tyler Veness}
\usepackage{amsmath,amssymb,amsthm}
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
\DeclareMathOperator{\cov}{cov}
\DeclareMathOperator{\diag}{diag}
\DeclareMathOperator{\eig}{eig}
\DeclareMathOperator{\rank}{rank}
\DeclareMathOperator{\sgn}{sgn}
\DeclareMathOperator{\sinc}{sinc}
\DeclareMathOperator{\solve}{solve}
\DeclareMathOperator{\std}{std}
\DeclareMathOperator{\tr}{tr}
\DeclareMathOperator{\var}{var}
\usepackage{mathtools} % For \DeclarePairedDelimiter
\DeclarePairedDelimiter{\norm}{\lVert}{\rVert}
\usepackage[english]{babel} % English language/hyphenation
\usepackage{bm}
\usepackage{booktabs} % For nicer horizontal rules in tables
\usepackage{calc} % For simpler calculation in spacing index letter headings
\usepackage{colortbl} % For colored table rows
\usepackage{csquotes} % Suppress warning from babel about missing csquotes
\usepackage{fancyhdr} % For the headers
\usepackage{float} % For preventing figure floating
\usepackage[bottom]{footmisc} % Put footnotes at bottom of the page
\renewcommand{\thefootnote}{[\arabic{footnote}]} % "[]" around footnote markers
\usepackage{textcomp,gensymb} % For degree symbol
\usepackage[top=2cm,
bottom=2cm,
left=1.5cm,
right=1.5cm,
headsep=10pt,
marginpar=70pt,
a5paper]{geometry}
\usepackage{graphicx} % For including figures
\graphicspath{{build/\jobname/imgs/}} % Specifies directory where images are stored
\usepackage{imakeidx} % For \indexsetup command to fix index heading style
\usepackage{listings}
\usepackage{mathtools} % For \prescript{}
\usepackage{makeidx}
\usepackage{multicol} % For multicolumn support
\usepackage{parskip}
\usepackage{placeins} % For FloatBarrier command
\usepackage{subcaption}
\usepackage{tikz}
\usepackage{titletoc}
\usepackage{enumitem} % Customize lists
\setlist{nolistsep} % Reduce spacing between bullet points and numbered lists
% Font setup
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
\usepackage[T1]{fontenc} % Use 8-bit encoding that has 256 glyphs
% Set main fonts
\usepackage[no-math]{fontspec}
\setmainfont[Path=./fonts/,
BoldFont=FreeSerifBold.otf,
ItalicFont=FreeSerifItalic.otf,
BoldItalicFont=FreeSerifBoldItalic.otf]{FreeSerif.otf}
\setsansfont[Path=./fonts/,
BoldFont=FreeSansBold.otf,
ItalicFont=FreeSansOblique.otf,
BoldItalicFont=FreeSansBoldOblique.otf]{FreeSans.otf}
\setmonofont[Path=./fonts/,
BoldFont=FreeMonoBold.otf,
ItalicFont=FreeMonoOblique.otf,
BoldItalicFont=FreeMonoBoldOblique.otf]{FreeMono.otf}
\renewcommand{\familydefault}{\rmdefault}
% Bibliography setup
\usepackage[style=numeric,
citestyle=numeric,
defernumbers=true,
sorting=nyt,
sortcites=true,
autopunct=true,
autolang=hyphen,
hyperref=true,
abbreviate=false,
backref=true,
backend=biber]{biblatex}
\addbibresource{controls-engineering-in-frc.bib}
\defbibheading{bibempty}{}
% Index setup
\makeindex
\indexsetup{headers={\sffamily\bfseries \indexname}{\sffamily\bfseries \indexname}}
\usepackage{hyperref}
\hypersetup{hidelinks,colorlinks=false,breaklinks=true,bookmarksopen=false,
pdftitle=\booktitle,pdfauthor=\bookauthor}
\urlstyle{same}
% Load after hyperref
\usepackage[nopostdot,
style=index,
nonumberlist]{glossaries}
\input{preamble/styles}
\input{preamble/macros}
\input{preamble/layout}
\renewcommand*{\glstextformat}[1]{\textcolor{glscolor}{#1}}
\input{glossary-entries}
\makeglossaries
\begin{document}
% \usechapterimagefalse
\frontmatter
\input{frontmatter/cover}
\input{frontmatter/title}
\input{frontmatter/copyright}
\input{frontmatter/toc}
% Frontmatter fancy header
\renewcommand{\chaptermark}[1]{%
\markboth{\sffamily\normalsize\bfseries #1}
{\sffamily\normalsize\bfseries #1}}
\renewcommand{\sectionmark}[1]{%
\markright{\sffamily\normalsize\bfseries #1}
{\sffamily\normalsize\bfseries #1}}
\input{frontmatter/preface}
% Mainmatter fancy header
\renewcommand{\chaptermark}[1]{%
\markboth{\sffamily\normalsize\bfseries\chaptername\ \thechapter.\ #1}{}}
\renewcommand{\sectionmark}[1]{%
\markright{\sffamily\normalsize\thesection\hspace{5pt}#1}{}}
% Define path commands for redefinition later
\newcommand*{\partpath}{}
\newcommand*{\chapterpath}{}
\newcommand*{\sectionpath}{}
\mainmatter
\setcounter{chapter}{-1}
\renewcommand*{\partpath}{introduction}
\input{\partpath/notes-to-the-reader}
\part{Fundamentals of control theory}
\label{part:fundamentals_of_control_theory}
\renewcommand*{\partpath}{fundamentals-of-control-theory}
\input{\partpath/control-system-basics}
\input{\partpath/pid-controllers}
\input{\partpath/application-advice}
\input{\partpath/calculus}
\part{Modern control theory}
\label{part:modern_control_theory}
\renewcommand*{\partpath}{modern-control-theory}
\input{\partpath/linear-algebra}
\input{\partpath/continuous-state-space-control}
\input{\partpath/discrete-state-space-control}
\input{\partpath/nonlinear-control}
\part{Estimation and localization}
\label{part:estimation_and_localization}
\renewcommand*{\partpath}{estimation-and-localization}
\input{\partpath/stochastic-control-theory}
\input{\partpath/pose-estimation}
\part{System modeling}
\label{part:system_modeling}
\renewcommand*{\partpath}{system-modeling}
\input{\partpath/dynamics}
\input{\partpath/newtonian-mechanics-examples}
\input{\partpath/lagrangian-mechanics-examples}
\input{\partpath/system-identification}
\part{Motion planning}
\label{part:motion_planning}
\renewcommand*{\partpath}{motion-planning}
\input{\partpath/motion-profiles}
\input{\partpath/configuration-spaces}
\input{\partpath/trajectory-optimization}
\part{Appendices}
\renewcommand{\chaptermark}[1]{\markboth{\sffamily\normalsize\bfseries\appendixname\ \thechapter.\ #1}{}}
\appendix
\renewcommand*{\partpath}{appendices}
\input{\partpath/simplifying-block-diagrams}
\input{\partpath/linear-quadratic-regulator}
\input{\partpath/feedforwards}
\input{\partpath/derivations}
\input{\partpath/classical-control-theory}
% Backmatter fancy header
\renewcommand{\chaptermark}[1]{%
\markboth{\sffamily\normalsize\bfseries #1}
{\sffamily\normalsize\bfseries #1}}
\renewcommand{\sectionmark}[1]{%
\markright{\sffamily\normalsize\bfseries #1}
{\sffamily\normalsize\bfseries #1}}
\backmatter
\chapterimage{backmatter.jpg}{Sunset near Porter Academic building at UCSC}
\input{backmatter/glossary}
\input{backmatter/bibliography}
\input{backmatter/index}
\input{backmatter/cover}
\end{document}