xdspacelab / openvslam

OpenVSLAM: A Versatile Visual SLAM Framework
https://openvslam.readthedocs.io/
2.97k stars 869 forks source link

Stuck at Waiting For Images #400

Closed adizhol closed 4 years ago

adizhol commented 4 years ago

Hi,

I'm running from docker with x11 forwarding. xeyes and glxgears work fine. When starting openvslam on one of the videos in the examples, I see two windows from pangolin, but the one for the video says "WAITING FOR IMAGES"

`[2020-07-19 15:25:23.073] [D] CONSTRUCT: config [2020-07-19 15:25:23.074] [I] config file loaded: /code/openvslam/example/aist_entrance_hall_1/config.yaml [2020-07-19 15:25:23.074] [D] load camera model type [2020-07-19 15:25:23.074] [D] load camera model parameters [2020-07-19 15:25:23.074] [D] CONSTRUCT: camera::base [2020-07-19 15:25:23.074] [D] CONSTRUCT: camera::fisheye [2020-07-19 15:25:23.075] [D] compute image bounds [2020-07-19 15:25:23.078] [D] load ORB parameters [2020-07-19 15:25:23.078] [D] load tracking parameters [2020-07-19 15:25:23.078] [D] load depth threshold [2020-07-19 15:25:23.078] [D] load depthmap factor [2020-07-19 15:25:23.078] [D] CONSTRUCT: system


/ \ _ \ \ / / | | /\ | \/ | | () | ' \/ -) ' \ V /__ \ |_ / | |\/| | _/| ./_||||_/ |_/__// __| || |_|

Copyright (C) 2019, National Institute of Advanced Industrial Science and Technology (AIST) All rights reserved.

This is free software, and you are welcome to redistribute it under certain conditions. See the LICENSE file.

Camera Configuration:

[2020-07-19 15:25:23.078] [I] loading ORB vocabulary: ./orb_vocab/orb_vocab.dbow2 [2020-07-19 15:25:23.363] [D] CONSTRUCT: data::camera_database [2020-07-19 15:25:23.363] [D] CONSTRUCT: data::map_database [2020-07-19 15:25:23.363] [D] CONSTRUCT: data::bow_database [2020-07-19 15:25:23.364] [D] CONSTRUCT: publish::frame_publisher [2020-07-19 15:25:23.364] [D] CONSTRUCT: publish::map_publisher [2020-07-19 15:25:23.364] [D] CONSTRUCT: module::initializer [2020-07-19 15:25:23.364] [D] CONSTRUCT: module::relocalizer [2020-07-19 15:25:23.364] [D] CONSTRUCT: tracking_module [2020-07-19 15:25:23.364] [D] CONSTRUCT: mapping_module [2020-07-19 15:25:23.364] [D] CONSTRUCT: global_optimization_module [2020-07-19 15:25:23.364] [I] startup SLAM system [2020-07-19 15:25:23.364] [I] start mapping module [2020-07-19 15:25:23.364] [I] start global optimization module error: XDG_RUNTIME_DIR not set in the environment. libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast Pangolin X11: Indirect GLX rendering context obtained`

adizhol commented 4 years ago

update: I build with opencv 3.4.10 and everything works great.