Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate partial measurements #125

Merged

Conversation

efernandez
Copy link
Collaborator

This runs the following validation check for all partial measurements:

  1. All mean values must be finite
  2. The covariance must be symmetric
  3. The covariance must be positive-definite

If any of the validation checks fail, and std::runtime_error exception is thrown.

In this implementation the exception is NOT caught, but it should be trivial to catch and do something like ROS_WARN_STREAM("<message>: " << ex.what()); and correct the values/covariance, it that sounds like a better approach.

fuse_core/include/fuse_core/eigen.h Outdated Show resolved Hide resolved
@svwilliams svwilliams merged commit db27add into locusrobotics:devel Jan 7, 2020
@efernandez efernandez deleted the validate_measurements branch March 11, 2020 09:57
@efernandez efernandez mentioned this pull request Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants