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

Problems with propagating Gaussian covariance matrices #2

Open
iron76 opened this issue Oct 10, 2013 · 1 comment
Open

Problems with propagating Gaussian covariance matrices #2

iron76 opened this issue Oct 10, 2013 · 1 comment
Labels

Comments

@iron76
Copy link

iron76 commented Oct 10, 2013

Dear dimple developers,
I am experiencing a problem when using the Gaussian solver with Multivariate variables. In particular the following code:

fg = FactorGraph();
fg.Solver = 'Gaussian';
N = 3;
x1 = RealJoint(N); x2 = RealJoint(N); q12 = RealJoint(N);
x1_meas = 1;
x1.FixedValue = ones(N,1)._x1_meas;
q12_meas = 3;
q12.FixedValue = ones(N,1)._q12_meas;
fg.addFactor(@add, q12, x1, x2);
fg.solve();

does not return a zero covariance matrix for the variable x2.Belief which is instead expected since q12 = x1 + x2 with q12 and x1 given. I get instead a covariance matrix eye(3)*1e-7 which is then propagated causing huge numerical errors. Anyone know how this can be solved?
Francesco

@analog-cbarber
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants