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

Wrong initialization #4

Open
stephen2183 opened this issue Nov 20, 2017 · 6 comments
Open

Wrong initialization #4

stephen2183 opened this issue Nov 20, 2017 · 6 comments

Comments

@stephen2183
Copy link

Hi,

Thanks greatly for sharing this code, it is really helpful.
I tried to use this package to generate 2D grid map, but there are some problems:

  1. I just used Monopub and Monosub to generate the 2D map, is that true?
  2. When I running Monopub, it could work but it could not extract feature points, leading to the problem like following:
    2017-11-20 9 13 38

How could I solve these problems?
Thanks for the help!

@jahaniam
Copy link
Collaborator

This might be because of wrong camera calibration. Make sure you can run your data on Original ORBSLAM first.

@stephen2183
Copy link
Author

@a-jahani
I can run Original Orbslam2 successfully, but Monopub didn't work with the same camera calibration file.

@jahaniam
Copy link
Collaborator

a quick way to bypass is to find out which frame is giving you wrong initialization and feed the orb slam with the rest of the frames after that frame.

This wrong initialization is in src/Tracking.cc line 693-695 which means you must get this in original orbslam as well.

@stephen2183
Copy link
Author

@a-jahani
I still could not solve the problem, and when I tried to fix the bug I faced another question.
I tried this command to test the function, but it failed with the error--"Segment fault". I had tried many times, but the results were the same.

rosrun ORB_SLAM2 Monopub Vocabulary/ORBvoc.txt Examples/Monocular/KITTI00-02.yaml /home/abhineet/KITTI/00 0

What does it mean and how could I solve this problem?
Thanks!

@jahaniam
Copy link
Collaborator

jahaniam commented Nov 21, 2017

"/home/abhineet/KITTI/00" is the address to kitti odometry dataset sequence 00. You should change it to yours!

@zhoushuailin
Copy link

@a-jahani I still could not solve the problem, and when I tried to fix the bug I faced another question. I tried this command to test the function, but it failed with the error--"Segment fault". I had tried many times, but the results were the same.

rosrun ORB_SLAM2 Monopub Vocabulary/ORBvoc.txt Examples/Monocular/KITTI00-02.yaml /home/abhineet/KITTI/00 0

What does it mean and how could I solve this problem? Thanks!

have you solved the problem? i changed the dataset path ,but i got Segment fault.

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

3 participants