Skip to content

Question on commented code #14

Description

@andrearuo

Hi!

I have just one question... in the file "unscented_kalman_filter.h" the code is commented in raws 128-129-130:
//// self.x_a[:self.dim_x] = y
//// self.P_a[:self.dim_x, : self.dim_x] = Pyy
// updateAugmentedStateAndCovariance();

and in raws 191-192-193:
//// self.x_a[:self.dim_x] = x
//// self.P_a[:self.dim_x, : self.dim_x] = P
// updateAugmentedStateAndCovariance();

While in your page: https://codingcorner.org/unscented-kalman-filter-how-to-implement-in-cpp-like-an-expert/, the library file in these parts is uncommented.

Which of the two options is correct?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions