VINS-Fusion icon indicating copy to clipboard operation
VINS-Fusion copied to clipboard

Fix undefined behaviour in Estimator::clearState()

Open mlag opened this issue 5 years ago • 1 comments

In class Estimator: pre_integrations, last_marginalization_info, tmp_pre_integration are not initialized. Because clearState() is called in Estimator's constructor and uses these variables, it's undefined behavior.

mlag avatar Apr 18 '19 23:04 mlag

Thank you @mlag This PR fix my problem when I try to to move Estimator variable to local

chobitsfan avatar Mar 07 '24 11:03 chobitsfan