Skip to content

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.

2 participants