Hi everybody I have the following Pose Graph:
```
NonlinearFactorGraph: size: 3
Factor 0: PriorFactor on x0
prior mean: R: [
-0.201547519, -0.977235902, 0.0662464351;
-0.917424872, 0.164655624, -0.36224319;
0.343089203, -0.133785344, -0.929726455
]
t: 0 0 0
noise model: diagonal sigmas[10; 10; 10; 100; 100; 100];
Factor 1: BetweenFactor(x0,x1)
measured: R: [
0.999317692, -0.0257647751, 0.0264636783;
0.0257493748, 0.999668004, 0.000922604244;
-0.0264786631, -0.000240551574, 0.99964935
]
t: 0 0 0
noise model: diagonal sigmas[1; 1; 1; 10; 10; 10];
Factor 2: EssentialMatrixConstraint(x0,x1)
measured: R:
[
0.994285511, 0.0718329152, -0.078970591;
-0.0694154532, 0.997043655, 0.0329460994;
0.081103741, -0.0272760499, 0.996332374
]
d: :-0.688679287
0.614011921
-0.385629614
isotropic dim=5 sigma=1e-05
Values with 2 values:
Value x0: (gtsam::Pose3)
R: [
-0.201547519, -0.977235902, 0.0662464351;
-0.917424872, 0.164655624, -0.36224319;
0.343089203, -0.133785344, -0.929726455
]
t: 0 0 0
Value x1: (gtsam::Pose3)
R: [
-0.228327332, -0.971734573, 0.0599879151;
-0.902967412, 0.188325342, -0.386242695;
0.364028135, -0.142356896, -0.920444475
]
t: 0 0 0
```
But if I try to optimize I get:
```
Indeterminant linear system detected while working near variable
8646911284551352321 (Symbol: x1).
Thrown when a linear system is ill-posed. The most common cause for this
error is having underconstrained variables. Mathematically, the system is
underdetermined. See the GTSAM Doxygen documentation at
http://borg.cc.gatech.edu/ on gtsam::IndeterminantLinearSystemException for
more information.
```
I had assumed that the system was properly constrained by the added factors,
have I made a mistake here?
I have tested setting the covariance of the EssentialMatrixConstraint to 0.5 and used Dogleg over LevenbergMarquardt but with the same results.
What should I take care of when using the EssentialMatrixConstraint?