torrvision / pyORBSLAM2

Ultra-fast Boost.Python interface for ORBSLAM2
MIT License
106 stars 33 forks source link

Pangolin X11: Failed to open X display #4

Open huetufemchopf opened 5 years ago

huetufemchopf commented 5 years ago

Hello there After setting up, running and building as described, the testing of the module throws the following error:

root@39495160ee53:/orbslam/src# python3 /orbslam/src/test/test.py
Initializing SLAM...

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: RGB-D

Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!

Camera Parameters: 
- fx: 517.306
- fy: 516.469
- cx: 318.643
- cy: 255.314
- k1: 0.262383
- k2: -0.953104
- k3: 1.16331
- p1: -0.005358
- p2: 0.002628
- fps: 30
- color order: RGB (ignored if grayscale)

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

Depth Threshold (Close/Far Points): 3.09294
/slamdoom/libs/orbslam2/Vocabulary/ORBvoc.txt
SLAM was successfully initialized!
Press key to continue...terminate called after throwing an instance of 'std::runtime_error'
  what():  Pangolin X11: Failed to open X display
Aborted (core dumped)

We run directly on the machine (no ssh porting), thus have graphical output enabled. Anyone had the same issue before? Thanks in advance!

kronecker08 commented 3 years ago

Hi, Were you able to find a solution to this error?

Ademord commented 3 years ago

bump ?

sadsasuke commented 2 years ago

any solutions?