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

Added split gaussian option to fac! #26

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Added split gaussian option to fac! #26

merged 1 commit into from
Jan 3, 2025

Conversation

contagon
Copy link
Collaborator

@contagon contagon commented Jan 3, 2025

Adds a from_split_cov and from_split_sigma methods to GaussianNoise. Essentially these are helpers specifically for creating noises for SE2/SE3 where the scales in the variable are inherently different.

Creating noises for these previously (and in other libraries) is tedious due to always having to repeat values. Instead, GaussianNoise::from_scalar_sigmas(0.1, 0.1, 0.1, 1.0, 1.0, 1.0) -> GaussianNoise::from_split_sigmas(0.1, 1.0)

Along with this, a new option to fac! is added,

assign_symbols!(X: SE3);
let factor = fac![prior, X(0), (0.1, 1.0) as std];

@contagon contagon merged commit be25f60 into dev Jan 3, 2025
2 checks passed
@contagon contagon deleted the split-gaussian branch January 3, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant