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

test estimator failed when try out the marginalization strategy #67

Open
weihaoysgs opened this issue May 9, 2024 · 0 comments
Open

Comments

@weihaoysgs
Copy link

i want to test the marginalization strategy for estimator, but get the following error, the test is failed.

WARNING: Logging before InitGoogleLogging() is written to STDERR
I0509 12:02:55.281731 1541098 test_estimator.cpp:121] case 0, 0
I0509 12:02:55.332015 1541098 test_estimator.cpp:261] Optimization done.
I0509 12:02:55.344079 1541098 test_estimator.cpp:261] Optimization done.
I0509 12:02:55.357443 1541098 test_estimator.cpp:261] Optimization done.
I0509 12:02:55.372718 1541098 test_estimator.cpp:261] Optimization done.
I0509 12:02:55.389052 1541098 test_estimator.cpp:261] Optimization done.
I0509 12:02:55.407203 1541098 test_estimator.cpp:261] Optimization done.
I0509 12:02:55.427950 1541098 test_estimator.cpp:261] Optimization done.
I0509 12:02:55.427958 1541098 test_estimator.cpp:264] == TRY MARGINALIZATION ==
F0509 12:02:55.428153 1541098 estimator.cpp:822] Check failed: residuals.size() != 0 
*** Check failure stack trace: ***
[1]    1541098 abort (core dumped)  ./devel/lib/svo_ceres_backend/test_estimator

i have try to update the code in estimator.cpp to the following, then running the test node, the program stucked.

 CHECK(residuals.size() != 0);
if(residuals.size() == 0)
  continue;

Has anyone encountered this situation?

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

No branches or pull requests

1 participant