Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program running error #50

Open
wangni-bupt opened this issue Jun 13, 2022 · 4 comments
Open

Program running error #50

wangni-bupt opened this issue Jun 13, 2022 · 4 comments

Comments

@wangni-bupt
Copy link

An error is reported when "Found one bad object !!!!!!!!!!!!!!!!!!!!!!!!! " occurs

Detect cuboid for pKF id: 252  total id: 826  numObj: 7
begin to associate cuboids #candidate:   0   #landmarks   3   #localKFs   12
Found one bad object !!!!!!!!!!!!!!!!!!!!!!!!!  47  2  0
[ros_mono-3] process has died [pid 9501, exit code -11, cmd /home/wang/Total/cubeslam_ws/devel/lib/orb_object_slam/ros_mono /home/wang/Total/cubeslam_ws/src/cube_slam/orb_object_slam/Vocabulary/ORBvoc.bin /home/wang/Total/cubeslam_ws/src/cube_slam/orb_object_slam/Examples/Monocular/KITTI04-12_me.yaml /camera/image_raw:=/kitti/left/image_raw __name:=ros_mono __log:=/home/wang/.ros/log/41750dc4-ead5-11ec-a0eb-25bfe08d23ac/ros_mono-3.log].
log file: /home/wang/.ros/log/41750dc4-ead5-11ec-a0eb-25bfe08d23ac/ros_mono-3*.log
[ WARN] [1655096339.650441103]: The input topic '/mono/image_raw' is not yet advertised
[ WARN] [1655096339.650508607]: The input topic '/mono/camera_info' is not yet `advertised
@homocysteine
Copy link

@wangni-bupt Hi, Have you solve the problem? I met the same one. The system crashed when it found a bad object.

@homocysteine
Copy link

I modified

pKF->EraseMapObjectMatch(mit->second); // remove observations from frame side
from pKF->EraseMapObjectMatch(mit->second) to pKF->EraseMapObjectMatch(this);. It seems to solve the 'bad object' problem.

@wangni-bupt
Copy link
Author

I'm debugging with gdb, and it looks like I'm traversing the previous null pointer

@homocysteine
Copy link

@wangni-bupt 我也是BUPT的,研究SLAM方向,我们可以加微信交流一下(vx: woshichenyushi),科研路上不孤独。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants