Closed Hello-Water closed 4 years ago
Hello, @JackingW !
It is a template arguments and the Weights()
function is used in several places in the code. At least once this function is used with augmented state dims (https://github.com/ser94mor/sensor-fusion/blob/master/src/filters/UnscentedKalmanFilter.hpp#L263), and once with ordinary state dims (https://github.com/ser94mor/sensor-fusion/blob/master/src/filters/UnscentedKalmanFilter.hpp#L396). So, the answer is no, it should not be augmented state dims.
Thank you, @ser94mor ! I understand now, your code is so beautiful !
Thank you, @JackingW !
hello, Should this ‘state_dims’ be ‘AugmentedStateDims’?