Giter VIP home page Giter VIP logo

Comments (4)

lukasvst avatar lukasvst commented on July 28, 2024

Sometimes this error can be printed but the program will still work fine.
Does the code work without GUI (just pass nogui=1)?
If not, can you post the command you run and the full commandline output?

from dm-vio.

shreyask3107 avatar shreyask3107 commented on July 28, 2024

Thanks for pointing that out. Looks like the problem is not with Pangolin X11.
I got the following error:

terminate called after throwing an instance of 'std::runtime_error'
what(): Pangolin X11: Failed to open X display
Aborted (core dumped)
Executing: cp /home/shreyas/dm_vio_test/results/dmvioresult-euroc-2022-05-24--17-40-16/mav_V2_03_difficult_0/result.txt /home/shreyas/dm_vio_test/results/dmviore
sult-euroc-2022-05-24--17-40-16/results/mav_V2_03_difficult_0.txt
cp: cannot stat '/home/shreyas/dm_vio_test/results/dmvioresult-euroc-2022-05-24--17-40-16/mav_V2_03_difficult_0/result.txt': No such file or directory
Executing: cp /home/shreyas/dm_vio_test/results/dmvioresult-euroc-2022-05-24--17-40-16/mav_V2_03_difficult_0/resultKFs.txt /home/shreyas/dm_vio_test/results/dmvi
oresult-euroc-2022-05-24--17-40-16/kfres/mav_V2_03_difficult_0.txt
cp: cannot stat '/home/shreyas/dm_vio_test/results/dmvioresult-euroc-2022-05-24--17-40-16/mav_V2_03_difficult_0/resultKFs.txt': No such file or directory

This error says there is no results.txt file. However, isn't it supposed to be created by the code. Have I messed up any configuration settings? Your help will be really appreciated.

For your reference, the command that I ran is:
python3 run_dmvio.py --output=console --dataset=euroc --dmvio_settings=euroc.yaml --withgui --iter=1 --only_seq=10

from dm-vio.

lukasvst avatar lukasvst commented on July 28, 2024

The output No such file or directory just means that DM-VIO did write a results file which is normal when it crashed.

Could you please post the full output of the program, not just the last couple of lines? Especially in the beginning of the program there is a lot of relevant information printed which I can use to debug.

Also, can you try to run the following and let me know if it works? python3 run_dmvio.py --output=console --dataset=euroc --dmvio_settings=euroc.yaml --iter=1 --only_seq=10
This will run without GUI, so we can see if the issue is with Pangolin.

from dm-vio.

lukasvst avatar lukasvst commented on July 28, 2024

Do you have any update on this, otherwise I will close the issue in a couple of days.

from dm-vio.

Related Issues (20)

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.