Kalman-and-Bayesian-Filters-in-Python
Kalman-and-Bayesian-Filters-in-Python copied to clipboard
8.6 Detecting and Rejecting Bad Measurement
ValueError Traceback (most recent call last)
C:\pcloud\filterpy\filterpy\common\helpers.py in reshape_z(z, dim_z, ndim) 309 310 if z.shape != (dim_z, 1): --> 311 raise ValueError('z (shape {}) must be convertible to shape ({}, 1)'.format(z.shape, dim_z)) 312 313 if ndim == 1:
ValueError: z (shape (1, 2)) must be convertible to shape (1, 1)
NameError Traceback (most recent call last)
NameError: name 'dist' is not defined
IndexError Traceback (most recent call last)
IndexError: index 1 is out of bounds for axis 0 with size 1