baidu / baidu/ICE-BA

how to run ice-ba

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
762
Forks
235
PR merge metrics
No merged PRs in 30d

Description

when i run the program, i meet the follow problem.
/home/robot/myslam/ICE-BA/bin/ice_ba --imgs_folder /media/robot/file/dataset/EuRoC/MH/MH_01_easy --start_idx 0 --end_idx 1000 --iba_param_path /home/robot/myslam/ICE-BA/config/config_of_mono.txt --gba_camera_save_path /media/robot/file/dataset/EuRoC/MH/result/MH_01_easy.txt
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
*** Aborted at 1562862214 (unix time) try "date -d @1562862214" if you are using GNU date ***
PC: @ 0x7fe4a137e428 gsignal
*** SIGABRT (@0x3e800004b9a) received by PID 19354 (TID 0x7fe4a7357780) from PID 19354; stack trace: ***
@ 0x7fe4a137e4b0 (unknown)
@ 0x7fe4a137e428 gsignal
@ 0x7fe4a138002a abort
@ 0x7fe4a1cc184d __gnu_cxx::__verbose_terminate_handler()
@ 0x7fe4a1cbf6b6 (unknown)
@ 0x7fe4a1cbf701 std::terminate()
@ 0x7fe4a1cbf919 __cxa_throw
@ 0x7fe4a1cbfebc operator new()
@ 0x413ebd std::__cxx11::basic_string<>::_M_construct<>()
@ 0x41b96c boost::filesystem::operator<< <>()
@ 0x4101bf main
@ 0x7fe4a1369830 __libc_start_main
@ 0x413cc9 _start
@ 0x0 (unknown)
./run_ice_ba_mono.sh: line 12: 19354 Aborted (core dumped) /home/robot/myslam/ICE-BA/bin/ice_ba --imgs_folder /media/robot/file/dataset/EuRoC/MH/MH_01_easy --start_idx 0 --end_idx 1000 --iba_param_path /home/robot/myslam/ICE-BA/config/config_of_mono.txt --gba_camera_save_path /media/robot/file/dataset/EuRoC/MH/result/MH_01_easy.txt

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the command in run_ice_ba_mono.sh and the ice_ba entry point, using config/config_of_mono.txt and the EuRoC MH_01_easy dataset invocation shown here. Inspect the std::bad_alloc stack trace around main and Boost filesystem handling. Done would be a reproducible explanation or corrected invocation that avoids the abort.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-vision, robotics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.