Git Product home page Git Product logo

Comments (4)

JoseLamarca avatar JoseLamarca commented on July 28, 2024

Hi! It seems a problem with the library Opencv linking. Take a look if you have only one version of Opencv installed. With multiple versions, It usually fails.
Best,

from defslam.

rainleong avatar rainleong commented on July 28, 2024

Thanks for your answer, I have solved this problem because I have installed multiple versions of opencv, so adding a new opencv include path and lib path to the cmakelist file solved the problem. The changes are as follows:
include_directories(
${OpenCV_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}
${PROJECT_SOURCE_DIR}/Thirdparty/ORBSLAM_2/include/
${PROJECT_SOURCE_DIR}/Thirdparty/BBS
${PROJECT_SOURCE_DIR}/Modules/Common
${PROJECT_SOURCE_DIR}/Modules/GroundTruth
${PROJECT_SOURCE_DIR}/Modules/Mapping
${PROJECT_SOURCE_DIR}/Modules/Matching
${PROJECT_SOURCE_DIR}/Modules/Settings
${PROJECT_SOURCE_DIR}/Modules/Template
${PROJECT_SOURCE_DIR}/Modules/Tracking
${PROJECT_SOURCE_DIR}/Modules/Viewer
${EIGEN3_INCLUDE_DIR}
${Pangolin_INCLUDE_DIRS}
${CERES_INCLUDE_DIRS}
)
link_directories(${OpenCV_LIBRARY_DIRS})

from defslam.

rainleong avatar rainleong commented on July 28, 2024

Hello author, I have another question, that is, where are the camera position and attitude files generated by DFMSLAM, just like CameraTrajectory.txt.
thanks~

from defslam.

JoseLamarca avatar JoseLamarca commented on July 28, 2024

Hi!
thanks for the note for Opencv is not the first time that it happens!
The camera trajectory is not saved. The program only evaluates the relative distance between the map and the camera. The base class for our tracking is the ORBSLAM tracking yet, so I guess that including it should be straightforward.

from defslam.

Related Issues (11)

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.