Skip to content

Commit 123c4f7

Browse files
committed
update ipynb doc.
1 parent d116137 commit 123c4f7

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Localization/particle_filter/particle_filter.ipynb

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010
},
1111
"source": [
12-
"# Particle Filter\n",
12+
"# Particle Filter Localization\n",
1313
"\n"
1414
]
1515
},
@@ -18,11 +18,21 @@
1818
"source": [
1919
"## How to calculate covariance matrix from particles\n",
2020
"\n",
21+
"The covariance matrix $\\Xi$ from particle information is calculated by the following equation: \n",
22+
"\n",
2123
"$\\Xi_{j,k}=\\frac{1}{1-\\sum^N_{i=1}(w^i)^2}\\sum^N_{i=1}w^i(x^i_j-\\mu_j)(x^i_k-\\mu_k)$\n",
2224
"\n",
25+
"- $\\Xi_{j,k}$ is covariance matrix element at row $i$ and column $k$.\n",
26+
"\n",
27+
"- $w^i$ is the weight of the $i$ th particle. \n",
28+
"\n",
29+
"- $x^i_j$ is the $j$ th state of the $i$ th particle. \n",
30+
"\n",
31+
"- $\\mu_j$ is the $j$ th mean state of particles.\n",
32+
"\n",
2333
"Ref:\n",
2434
"\n",
25-
"- [Improving the particle filter in high dimensions using conjugate artificial process noise](https://www.visiondummy.com/2014/04/draw-error-ellipse-representing-covariance-matrix/)\n"
35+
"- [Improving the particle filter in high dimensions using conjugate artificial process noise](https://arxiv.org/pdf/1801.07000.pdf)\n"
2636
],
2737
"metadata": {
2838
"collapsed": false

0 commit comments

Comments
 (0)