uzh-rpg / dslam_open

Public code for "Data-Efficient Decentralized Visual SLAM"
GNU General Public License v3.0
289 stars 74 forks source link

Dataset_to_vo problem #12

Open Erika1012 opened 4 years ago

Erika1012 commented 4 years ago

@tcies Hi, as I want to reproduce the pipeline to another dataset (kitti 01), then I need to run ORB SLAM to generate VO data. However, as I run dataset_to_vo, there seems to an error or problem that I cannot solve. The error is:

MakeCurrent: Not available with non-pangolin window.

I guess the error is due to the Pangolin, but I have fully follow the instructions and build the workspace successfully, so how to solve the problems? Thanks a lot. By the way, the console logs are shown as follows:


I0629 11:51:53.945066  8259 TemplatedVocabulary.h:1480] /home/lixinyue/my_ws/src/ORB_SLAM2/orb_slam_2/Vocabulary/ORBvoc.txt.proto .proto

ORB-SLAM2 Copyright (C) 2014-2016 Raul Mur-Artal, University of Zaragoza.
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt.

Input sensor was set to: Stereo

Loading ORB Vocabulary. This could take a while...
I0629 11:51:54.810225  8259 TemplatedVocabulary.h:1480] /home/lixinyue/my_ws/src/ORB_SLAM2/orb_slam_2/Vocabulary/ORBvoc.txt.proto .proto
Vocabulary loaded!

Camera Parameters: 
- fx: 718.856
- fy: 718.856
- cx: 607.193
- cy: 185.216
- k1: 0
- k2: 0
- p1: 0
- p2: 0
- fps: 10
- color order: BGR (ignored if grayscale)

ORB Extractor Parameters: 
- Number of Features: 100
- Scale Levels: 8
- Scale Factor: 1.2
- Initial Fast Threshold: 20
- Minimum Fast Threshold: 7

Depth Threshold (Close/Far Points): 18.8008
sh: 1: gnuplot: not found
W0629 11:51:55.942534  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:55.992823  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.087868  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.194983  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.309288  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.412573  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.518157  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.624987  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.723423  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.823798  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:56.928405  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.033638  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.138293  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.239769  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.350859  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.436209  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.546696  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.659258  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.761232  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.866683  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:57.958070  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.065088  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.175227  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.278771  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.386066  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.487242  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.590344  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.694272  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.802196  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:58.903501  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.007551  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.111759  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.210729  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.319007  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.421427  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.524024  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.633453  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.733881  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.834147  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:51:59.944428  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:52:00.028889  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:52:00.138453  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:52:00.253643  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:52:00.356040  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:52:00.459113  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:52:00.559882  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:52:00.668987  8259 dataset_to_vo.cpp:190] Initializing...
W0629 11:52:00.769940  8259 dataset_to_vo.cpp:190] Initializing...
........ similar logs .........
MakeCurrent: Not available with non-pangolin window.```
MichaelJoker commented 4 years ago

The problem is due to my change of parameter in orb yaml, as I just used only 100 features to be extracted (original should be 2000). I changed it back, but some other errors happen. See the possible solution in issue 13

NatureLan-sudo commented 2 years ago

The problem is due to my change of parameter in orb yaml, as I just used only 100 features to be extracted (original should be 2000). I changed it back, but some other errors happen. See the possible solution in issue 13

I met the same problem but I didn't change the parameters. Do you have any ideas? I have met the problem in issue 13 and solve it successfully with your solution.