Update 11-Extended-Kalman-Filters.ipynb

Include the current x and y states into the jacobian matrix calculations.
This commit is contained in:
Nick-Kou 2020-10-27 15:53:22 -04:00 committed by GitHub
parent 24b9fb3cf7
commit d024acb311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1146,6 +1146,8 @@
"\n",
" def predict(self, u):\n",
" self.x = self.move(self.x, u, self.dt)\n",
" self.subs[self.x_x] = self.x[0, 0]\n",
" self.subs[self.x_y] = self.x[1, 0]\n",
"\n",
" self.subs[self.theta] = self.x[2, 0]\n",
" self.subs[self.v] = u[0]\n",