Git Product home page Git Product logo

Comments (7)

ziv-lin avatar ziv-lin commented on May 29, 2024

For reporting bugs and problems, please follow the instruction guide in our ReadMe.md. Attaching both your hardware and software environment if possible (printed by R3LIVE, see the following figure) will be a great help for me in locating your problems.
envs

from r3live.

ziv-lin avatar ziv-lin commented on May 29, 2024

From your case, with referring to issue #11
I suggest you check if the OpenCV you use for compiling the codes matches exactly the openCV in your runtime environment. That is , the openCV version oriented by R3LIVE should as same as the version info printed in your terminal after types:

pkg-config --modversion opencv

from r3live.

viniciusvidal2 avatar viniciusvidal2 commented on May 29, 2024

I am trully sorry, I didn't see this part in the Readme. I attach my hardware description, and as you can see, I am using Opencv version 4.5.3. I had to download and compile this version separetelly, since Ros Melodic used 3.2.
hard
From your following suggestion, the output of the command is the following:

pkg-config --modversion opencv

3.2.0

Do you have any suggestions in setting that too? Thank you.

from r3live.

ziv-lin avatar ziv-lin commented on May 29, 2024

From your case, it seems that your OpenCV is complied with 4.5.3 but run with OpenCV version 3.2.0, can you keep them the same? This is very very important to launch R3LIVE correctly.

from r3live.

viniciusvidal2 avatar viniciusvidal2 commented on May 29, 2024

Perfect, already did it and it is working, thank you for your help!

from r3live.

zengkailiang avatar zengkailiang commented on May 29, 2024

Perfect, already did it and it is working, thank you for your help!

Can you tell me how you solved it ? I'm in the same situation as you, my ros melodic used opencv3.2. I compiled the code with opencv4.4.0.

from r3live.

viniciusvidal2 avatar viniciusvidal2 commented on May 29, 2024

You might do this checking to see which version is found when running the code in command prompt:

pkg-config --modversion opencv4

This page might be helpful to double check your installation procedure:

https://linuxize.com/post/how-to-install-opencv-on-ubuntu-18-04/

As a final advice, from the time I was struggling untill now, I found further issues with other libraries that you might be willing to use too, such as open3D, related to cmake version, for instance. My best advice in the end is to upgrade to Ubuntu 20, since it has a stable upgraded environment in general. Cons: don't do it if you have more than one machine using Ubuntu 18 and ROS Melodic, because ROS will face issues regarding Melodic and Noetic communications.

from r3live.

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.