Open hyeongilee opened 4 years ago
When I execute with my own image sequence the error below appears. when i use ROS and either not, the same error appears and I can see the images publishes correctly.
(base) student1@jung-Default-string-Invalid-entry-length-16-Fixed-up-to-11:~/Downloads/openvslam/ros$ rosrun openvslam run_slam -v ../build/orb_vocab/orb_vocab.dbow2 -c ../example/KH.yaml [2020-08-15 08:18:31.486] [I] config file loaded: ../example/KH.yaml
/ \ _ \ \ / / | | /\ | \/ | | () | ' \/ -) ' \ V /__ \ |_ / | |\/| | _/| ./_||||_/ |_/__// __| || |_|
Copyright (C) 2019, National Institute of Advanced Industrial Science and Technology (AIST) All rights reserved.
This is free software, and you are welcome to redistribute it under certain conditions. See the LICENSE file.
Camera Configuration:
[2020-08-15 08:18:31.486] [I] loading ORB vocabulary: ../build/orb_vocab/orb_vocab.dbow2 [2020-08-15 08:18:31.907] [I] startup SLAM system [2020-08-15 08:18:31.907] [I] start mapping module [2020-08-15 08:18:31.907] [I] start global optimization module terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted at 1597447115 (unix time) try "date -d @1597447115" if you are using GNU date PC: @ 0x7f2b05470438 gsignal SIGABRT (@0x3e900002d9c) received by PID 11676 (TID 0x7f2b091c0d00) from PID 11676; stack trace: @ 0x7f2b054704c0 (unknown) @ 0x7f2b05470438 gsignal @ 0x7f2b0547203a abort @ 0x7f2b05ab6dde (unknown) @ 0x7f2b05ac2896 (unknown) @ 0x7f2b05ac2901 std::terminate() @ 0x7f2b05ac2b55 __cxa_throw @ 0x7f2b05ab6a7e (unknown) @ 0x7f2b06d43b9d _ZNK9openvslam7feature13orb_extractor16initialize_nodesB5cxx11ERKSt6vectorIN2cv8KeyPointESaIS4_EEiiii @ 0x7f2b06d443b7 openvslam::feature::orb_extractor::distribute_keypoints_via_tree() @ 0x7f2b06d4569d openvslam::feature::orb_extractor::compute_fast_keypoints() @ 0x7f2b06d46720 openvslam::feature::orb_extractor::extract() @ 0x7f2b06d11dd7 openvslam::data::frame::extract_orb() @ 0x7f2b06d14912 openvslam::data::frame::frame() @ 0x7f2b06ce2a79 openvslam::tracking_module::track_monocular_image() @ 0x7f2b06cd548c openvslam::system::feed_monocular_frame() @ 0x417e48 _ZN5boost6detail8function26void_function_obj_invoker1IZ13mono_trackingRKSt10shared_ptrIN9openvslam6configEERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEESG_bSG_EUlRKNS_10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEEE_vSP_E6invokeERNS1_15functionbufferESP @ 0x7f2a7a1c6cb9 image_transport::RawSubscriber::internalCallback() @ 0x7f2b0769f8ec boost::detail::function::void_function_obj_invoker1<>::invoke() @ 0x7f2a7a1ce703 ros::SubscriptionCallbackHelperT<>::call() @ 0x7f2b07402d8d ros::SubscriptionQueue::call() @ 0x7f2b073a8838 ros::CallbackQueue::callOneCB() @ 0x7f2b073aa23b ros::CallbackQueue::callAvailable() @ 0x7f2b07406e39 ros::SingleThreadedSpinner::spin() @ 0x7f2b073ebe9b ros::spin() @ 0x4188a6 mono_tracking() @ 0x4164ef main @ 0x7f2b0545b840 libc_start_main @ 0x417439 _start @ 0x0 (unknown) Aborted (core dumped)
I have the same question of you. Did you find the solution now?
When I execute with my own image sequence the error below appears. when i use ROS and either not, the same error appears and I can see the images publishes correctly.
(base) student1@jung-Default-string-Invalid-entry-length-16-Fixed-up-to-11:~/Downloads/openvslam/ros$ rosrun openvslam run_slam -v ../build/orb_vocab/orb_vocab.dbow2 -c ../example/KH.yaml [2020-08-15 08:18:31.486] [I] config file loaded: ../example/KH.yaml
/ \ _ \ \ / / | | /\ | \/ | | () | ' \/ -) ' \ V /__ \ |_ / | |\/| | _/| ./_||||_/ |_/__// __| || |_|
Copyright (C) 2019, National Institute of Advanced Industrial Science and Technology (AIST) All rights reserved.
This is free software, and you are welcome to redistribute it under certain conditions. See the LICENSE file.
Camera Configuration:
[2020-08-15 08:18:31.486] [I] loading ORB vocabulary: ../build/orb_vocab/orb_vocab.dbow2 [2020-08-15 08:18:31.907] [I] startup SLAM system [2020-08-15 08:18:31.907] [I] start mapping module [2020-08-15 08:18:31.907] [I] start global optimization module terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted at 1597447115 (unix time) try "date -d @1597447115" if you are using GNU date PC: @ 0x7f2b05470438 gsignal SIGABRT (@0x3e900002d9c) received by PID 11676 (TID 0x7f2b091c0d00) from PID 11676; stack trace: @ 0x7f2b054704c0 (unknown) @ 0x7f2b05470438 gsignal @ 0x7f2b0547203a abort @ 0x7f2b05ab6dde (unknown) @ 0x7f2b05ac2896 (unknown) @ 0x7f2b05ac2901 std::terminate() @ 0x7f2b05ac2b55 __cxa_throw @ 0x7f2b05ab6a7e (unknown) @ 0x7f2b06d43b9d _ZNK9openvslam7feature13orb_extractor16initialize_nodesB5cxx11ERKSt6vectorIN2cv8KeyPointESaIS4_EEiiii @ 0x7f2b06d443b7 openvslam::feature::orb_extractor::distribute_keypoints_via_tree() @ 0x7f2b06d4569d openvslam::feature::orb_extractor::compute_fast_keypoints() @ 0x7f2b06d46720 openvslam::feature::orb_extractor::extract() @ 0x7f2b06d11dd7 openvslam::data::frame::extract_orb() @ 0x7f2b06d14912 openvslam::data::frame::frame() @ 0x7f2b06ce2a79 openvslam::tracking_module::track_monocular_image() @ 0x7f2b06cd548c openvslam::system::feed_monocular_frame() @ 0x417e48 _ZN5boost6detail8function26void_function_obj_invoker1IZ13mono_trackingRKSt10shared_ptrIN9openvslam6configEERKNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEESG_bSG_EUlRKNS_10shared_ptrIKN11sensor_msgs6Image_ISaIvEEEEEE_vSP_E6invokeERNS1_15functionbufferESP @ 0x7f2a7a1c6cb9 image_transport::RawSubscriber::internalCallback() @ 0x7f2b0769f8ec boost::detail::function::void_function_obj_invoker1<>::invoke() @ 0x7f2a7a1ce703 ros::SubscriptionCallbackHelperT<>::call() @ 0x7f2b07402d8d ros::SubscriptionQueue::call() @ 0x7f2b073a8838 ros::CallbackQueue::callOneCB() @ 0x7f2b073aa23b ros::CallbackQueue::callAvailable() @ 0x7f2b07406e39 ros::SingleThreadedSpinner::spin() @ 0x7f2b073ebe9b ros::spin() @ 0x4188a6 mono_tracking() @ 0x4164ef main @ 0x7f2b0545b840 libc_start_main @ 0x417439 _start @ 0x0 (unknown) Aborted (core dumped)