Closed antoan closed 5 years ago
Hi, antoan, are you using the latest version of code? If no, please update the code. And if yes, it seems like a memory crash problem, then you can use backward to get detailed infomation.
You can try to delete the line noted with "###...###" following, it should be alright.
estimator.cpp map<double, ImageFrame>::iterator it_0; it_0 = all_image_frame.find(t_0);
### delete it_0->second.pre_integration; ###
for (map<double, ImageFrame>::iterator it = all_image_frame.begin(); it != it_0; ++it)
{
delete it->second.pre_integration;
it->second.pre_integration = NULL;
}
all_image_frame.erase(all_image_frame.begin(), it_0);
Apologies for the late reply I will have a look at it this weekend.
On Tue, Jan 15, 2019 at 7:33 AM CAO Shaozu notifications@github.com wrote:
Closed #266 https://github.com/HKUST-Aerial-Robotics/VINS-Mono/issues/266.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HKUST-Aerial-Robotics/VINS-Mono/issues/266#event-2073828141, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYxW0ZaUAX7Iln5rgzb5nrM1dOSHTtYks5vDYRggaJpZM4Z8OD0 .
Enviroment: Ubuntu 16.04, ROS Kinetic, OpenCV 3.3.1, Eigen 3.3.3
The estimator node crashes as soon as the Euroc MH_01_easy.bag starts running
How I built Vins Mono:
I have built and installed Ceres 1.14 with Eigen3.3.3
Vins-Mono & Eigen 3.3.3: Edited each package's CmakeLists.txt (feature_tracker, pose_graph, ect ) to hardcode the path to Eigen3.3.3 and commented out the call to FindEigen.cmake:
find_package(Eigen3)
set(EIGEN3_INCLUDE_DIR "/home/tony/eigen3.3.3")
Any suggestions would be much appreciated.
VINS-MONO Build log