YWL0720 / YOLO_ORB_SLAM3

This is an improved version of ORB-SLAM3 that adds an object detection module implemented with YOLOv5 to achieve SLAM in dynamic environments.
240 stars 29 forks source link

Segmentation Fault (core dumped) with monocular camera #36

Open haniraid opened 3 months ago

haniraid commented 3 months ago

Hi evryone, so i built this orbb_slam Model for mono, and tried to use it with monocular camera, i switched to v2 and still having the same probleme, here is the debug: median tracking time: 0.031747 mean tracking time: 0.036998

Saving keyframe trajectory to KeyFrameTrajectory.txt ... [Thread 0x7fffb908f700 (LWP 183551) exited] --Type for more, q to quit, c to continue without paging--bt

Thread 4 "mono_tum" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffb888e700 (LWP 183552)] 0x00007ffff7e9d793 in ORB_SLAM3::Viewer::Run() () from /home/raidhani/ros1_ws/src/YOLO_ORB_SLAM3/lib/libORB_SLAM3.so (gdb) (gdb) bt full

0 0x00007ffff7e9d793 in ORB_SLAM3::Viewer::Run() () at /home/raidhani/ros1_ws/src/YOLO_ORB_SLAM3/lib/libORB_SLAM3.so

1 0x00007fffdfbb8793 in () at /lib/x86_64-linux-gnu/libstdc++.so.6

2 0x00007fffdf19a609 in start_thread (arg=) at pthread_create.c:477

    ret = <optimized out>
    pd = <optimized out>
    unwind_buf = 
          {cancel_jmp_buf = {{jmp_buf = {140736289367808, -5879687022322668642, 140737488342334, 140737488342335, 140737488342336, 140736289340736, 5879544828823055262, 5879618626790206366}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
    not_first_call = 0

3 0x00007fffdf9d8353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

(gdb) Please does any one have a clue of whati should do !