Coder Social home page Coder Social logo

Comments (1)

Chen-Xieyuanli avatar Chen-Xieyuanli commented on July 17, 2024

Hey @GinWeng, thanks for using our code.

It seems that you are using a remote or virtual machine which leads to an OpenGL issue.

So far, we have no solution for running in the remote or virtual environment.

I will just put your original log here, which explicitly indicates the error, and see whether others have any solutions.

==================================================================
ubuntu@windowsOfJin:/mnt/f/Capstone/algorithms/range_mcl/src$ python3 main_range_mcl.py
INFO - 2021-12-16 14:47:17,664 - acceleratesupport - OpenGL_accelerate module loaded
INFO - 2021-12-16 14:47:17,667 - arraydatatype - Using accelerated ArrayDatatype
Load mesh map and initialize map module...
/home/ubuntu/.local/lib/python3.8/site-packages/glfw/init.py:834: GLFWError: (65544) b'X11: The DISPLAY environment variable is missing'
warnings.warn(message, GLFWError)
Traceback (most recent call last):
File "main_range_mcl.py", line 54, in
map_module = MapModule(map_poses, map_file)
File "/mnt/f/Capstone/algorithms/range_mcl/src/map_module.py", line 32, in init
window = OffscreenWindow(show=False)
File "/mnt/f/Capstone/algorithms/range_mcl/src/map_renderer/offscreen_window.py", line 13, in init
if not glfw.init(): raise RuntimeError("Unable to initialize glfw.")
RuntimeError: Unable to initialize glfw.

from range-mcl.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.