rtabmap_ros icon indicating copy to clipboard operation
rtabmap_ros copied to clipboard

An error occurred when I was running the EuRoc dataset with orbslam3 as the odometer

Open albdlackzrc opened this issue 2 years ago • 5 comments

Hi @matlabbe ! An error occurred when I used orbslam3 as the odometry to run EuRoc data set, I tried V1_01_easy.bag, MH_01_easy.bag, MH_02_easy and the same error occurred. How can I solve this problem? 2023-04-02 16-18-53 的屏幕截图

albdlackzrc avatar Apr 02 '23 08:04 albdlackzrc

You may launch stereo_odometry in gdb, and do bt (backtrace) when it crashes. This would give more information where it fails. Note that I am not actively maintaining ORB-SLAM3 support, the last working version I tried is the one referred in this patch: https://gist.github.com/matlabbe/f5cb281304a1305b2824a6ce19792e13 (related post)

matlabbe avatar Apr 02 '23 19:04 matlabbe

Sorry I'm not familiar with GDB and ROS, but this is what rtabmap_ws/devel/lib/stereo_odometry looked like when I opened it with GDB. 2023-04-06 15-11-07 的屏幕截图 So how do I get this up and running, thank you for your answer

albdlackzrc avatar Apr 06 '23 07:04 albdlackzrc

If you are using a launch file to launch the nodes, you can enable gdb with launch-prefix attribute: http://wiki.ros.org/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB

matlabbe avatar Apr 16 '23 18:04 matlabbe

IMG_3406 Me too,I use gdb when it crash

zhangpeng66 avatar Jun 13 '23 14:06 zhangpeng66

We cannot see anything in that screenshot, copy/paste the text instead after you do bt (backtrace).

matlabbe avatar Jun 17 '23 22:06 matlabbe