-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathukf7d_written_solutions.tex
85 lines (64 loc) · 1.81 KB
/
ukf7d_written_solutions.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
\documentclass{article}
\usepackage{fullpage}
\usepackage{amsmath} % for math stuff
\usepackage{graphicx} % for inserting graphics
\usepackage{xcolor} % for text coloring
\newcommand{\todo}[1]{\textcolor{red}{\textbf{#1}}}
\title{UKF with 7D State Vector}
\author{}
\date{\today}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\maketitle
\section{Design}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{State Vector}
\begin{equation}
\mathbf{x}_t = \begin{bmatrix}
x \\
y \\
z \\
\dot x \\
\dot y \\
\dot z \\
\psi \end{bmatrix}
\end{equation}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Prediction Step}
\subsubsection{Control Input}
We define a control input $\mathbf{u}$ populated by linear accelerations from the IMU:
\begin{equation}
\mathbf{u}_t = \begin{bmatrix}
\ddot x^b \\
\ddot y^b \\
\ddot z^b
\end{bmatrix}
\end{equation}
The linear accelerations are in the drone's body frame, so we need to rotate these vectors into the global frame based on the yaw variable that we are tracking and the roll and pitch values from the IMU as well. This transformation will occur in the state transition function.
\subsubsection{State Transition Function}
\begin{equation}
g(\mathbf{x}_{t-\Delta t}, \mathbf{u}_t, \Delta t) = \todo{?}
\end{equation}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Measurement Update Step}
\subsubsection{Measurement Vector}
\begin{equation}
\mathbf{z}_t = \begin{bmatrix}
r \\
x \\
y \\
\dot x \\
\dot y \\
\psi_{\text{camera}}
\end{bmatrix}
\end{equation}
\subsubsection{Measurement Function}
\begin{equation}
h(\mathbf{\bar x}_t) = \todo{?}
\end{equation}
\subsubsection{Measurement Covariance Matrix}
\begin{equation}
\mathbf{R}_t = \todo{?}
\end{equation}
\end{document}