You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/2_localization/unscented_kalman_filter_localization/unscented_kalman_filter_localization_main.rst
:math:`\begin{equation*} \begin{bmatrix} x_{obs} \\ y_{obs} \end{bmatrix} = h(\mathbf{x}) = \begin{bmatrix} x \\ y \end{bmatrix} \end{equation*}`
225
+
226
+
227
+
UKF Parameters
228
+
~~~~~~~~~~~~~~
229
+
230
+
The UKF uses three tuning parameters:
231
+
232
+
- **ALPHA = 0.001**: Controls the spread of sigma points around the mean. Smaller values result in sigma points closer to the mean.
233
+
- **BETA = 2**: Incorporates prior knowledge about the distribution. For Gaussian distributions, the optimal value is 2.
234
+
- **KAPPA = 0**: Secondary scaling parameter. Usually set to 0 or 3-n where n is the state dimension.
235
+
236
+
These parameters affect the calculation of :math:`\lambda = \alpha^2(n + \kappa) - n`, which determines
237
+
the sigma point spread and weights.
238
+
239
+
240
+
Advantages of UKF over EKF
241
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
242
+
243
+
The Unscented Kalman Filter offers several advantages over the Extended Kalman Filter:
244
+
245
+
- **No Jacobian required**: UKF does not need to compute Jacobian matrices, which can be error-prone and computationally expensive for complex nonlinear systems
246
+
- **Higher accuracy**: UKF captures the mean and covariance to the second order (third order for Gaussian distributions) while EKF only achieves first-order accuracy
247
+
- **Better handling of nonlinearities**: The unscented transform provides a better approximation of the probability distribution after nonlinear transformation
248
+
- **Easier implementation**: For highly nonlinear systems, UKF is often easier to implement since it doesn't require analytical derivatives
249
+
- **Numerical stability**: UKF can be more numerically stable than EKF for strongly nonlinear systems
250
+
251
+
16
252
Reference
17
253
~~~~~~~~~~~
18
254
19
255
- `Discriminatively Trained Unscented Kalman Filter for Mobile Robot Localization <https://www.researchgate.net/publication/267963417_Discriminatively_Trained_Unscented_Kalman_Filter_for_Mobile_Robot_Localization>`_
256
+
- `The Unscented Kalman Filter for Nonlinear Estimation <https://www.seas.harvard.edu/courses/cs281/papers/unscented.pdf>`_
0 commit comments