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

Better validate partial measurement output #131

Conversation

efernandez
Copy link
Collaborator

@efernandez efernandez commented Jan 15, 2020

  • Show source if validation fails

    • Also changes from throwing/crashing to ROS_ERROR.
  • Add precision arg for covariance validation. This allows to:

    • Relax the default precision when validating the covariance matrix is
      symmetric.
    • Print the covariance matrix with Eigen::FullPrecision when the
      symmetry test fails with isApprox, so we can see the magnitude of
      the error.

This allows to:
* Relax the default precision when validating the covariance matrix is
  symmetric.
* Print the covariance matrix with `Eigen::FullPrecision` when the
  symmetry test fails with `isApprox`, so we can see the magnitude of
  the error.
Also changes from throwing/crashing to ROS_ERROR.
And use `Eigen::FullPrecision` output.
And `validate` argument to `sensor_proc.h` processing functions, so the
validation checks can be enabled or disabled based on the value of the
`disable_checks` param.
@svwilliams svwilliams merged commit aaaf877 into locusrobotics:devel Jan 27, 2020
@efernandez efernandez deleted the better_validate_partial_measurement_output branch March 11, 2020 10:02
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.

3 participants