You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A minimal test for which we get the InconsistentEliminationRequested when calling gtsam::Marginals.
It seems to happen when a smart factor is added with no measurements.
The example is in here: MIT-SPARK#1
where the example ISAM2_SmartFactorStereo_IMU is modified to showcase the problem.
In particular, the data is simplified so that there is only a single landmark, and:
Removed the part of the code that adds measurements to the stereo factors:
Line 261 in examples/testISAM2_SmartFactorStereo_IMU.cpp
@ToniRV I took a look at this issue again (apologies for the delay) and I can't reproduce it. I am wondering if the fixes in the interim have resolved this issue.
Can you please try this example with the latest develop?
Issue discovered by @ToniRV.
A minimal test for which we get the
InconsistentEliminationRequested
when callinggtsam::Marginals
.It seems to happen when a smart factor is added with no measurements.
The example is in here: MIT-SPARK#1
where the example
ISAM2_SmartFactorStereo_IMU
is modified to showcase the problem.In particular, the data is simplified so that there is only a single landmark, and:
Removed the part of the code that adds measurements to the stereo factors:
Line 261 in
examples/testISAM2_SmartFactorStereo_IMU.cpp
Used an Incremental Fixed Lag Smoother class instead of an ISAM2 class:
To run this, you can just compile gtsam as always, and run:
The output is not too big, where the graph is printed before gtsam::Marginals is called:
The text was updated successfully, but these errors were encountered: