Giter Club home page Giter Club logo

Comments (6)

m4nh avatar m4nh commented on August 30, 2024

@rnunziata Sorry but unfortunately SlamDUnk is not compatible for now with OpenCV3.. you can use SkiMap however. What do you need to do?

from skimap_ros.

rnunziata avatar rnunziata commented on August 30, 2024

could I compile against a diff ver of opencv by point to it like this in the make file, any versions older then 2.4 I can use. I want to track without pose if I do not send pose data via rosbag then the map does not develop correctly . I am using a filtered version of rgbd_dataset_freiburg3_long_office_household_validation.bag with only depth, image, cam_info.

# OpenCV 2.4.9
CPPFLAGS = -L/path/to/opencv2.4.9/lib \
       -I/path/to/opencv2.4.9/include

I tried to override like this in the CMakeLists.txt but its still looking at /usr. Do you know how to over ride opencv in cmake?

set(CPPFLAGS "-L/home/rjn/opencv-2.4.13.3/install/lib -I/home/rjn/opencv-2.4.13.3/install/include")
set(OpenCV_INCLUDE_DIRS "/home/rjn/opencv-2.4.13.3/install/include")
set(OpenCV_LIBRARIES "/home/rjn/opencv-2.4.13.3/install/lib")

from skimap_ros.

m4nh avatar m4nh commented on August 30, 2024

@rnunziata did you remove the "find(opencv..." row or not? in this case are you sure that your forced SET over Opencv_VARIABLES is after the "find" operation?
By the way try to use ORBSLAM2 as camera tracker (See #7) because unfortunately SlamDUNK is not mantained continuously for now in this package, that is focused only on the SkiMap mapping part.

from skimap_ros.

rnunziata avatar rnunziata commented on August 30, 2024

This worked for me

find_package(OpenCV 2.4.13.3 EXACT NO_DEFAULT_PATH REQUIRED PATHS /home/rjn/opencv-2.4.13.3/install)
if(OpenCV_INCLUDE_DIRS)
  include_directories(${OpenCV_INCLUDE_DIRS})
endif(OpenCV_INCLUDE_DIRS)

...but now I am getting error related to nonfree: is this version no good?

In file included from /home/rjn/catkin_ws/src/skimap_ros/include/slamdunk/camera_tracker.h:20:0,
                 from /home/rjn/catkin_ws/src/skimap_ros/src/slamdunk/feature_tracker.cpp:9:
/home/rjn/opencv-2.4.13.3/install/include/opencv2/nonfree/features2d.hpp: At global scope:
/home/rjn/opencv-2.4.13.3/install/include/opencv2/nonfree/features2d.hpp:73:21: error: ‘vector’ has not been declared
                     vector<KeyPoint>& keypoints) const;
                     ^
/home/rjn/opencv-2.4.13.3/install/include/opencv2/nonfree/features2d.hpp:73:27: error: expected ‘,’ or ‘...’ before ‘<’ token
                     vector<KeyPoint>& keypoints) const;
                           ^
/home/rjn/opencv-2.4.13.3/install/include/opencv2/nonfree/features2d.hpp:77:21: error: ‘vector’ has not been declared
                     vector<KeyPoint>& keypoints,

from skimap_ros.

rnunziata avatar rnunziata commented on August 30, 2024

Have you looked at ros ptam for tf and pose transform ....

from skimap_ros.

rnunziata avatar rnunziata commented on August 30, 2024

Slamdunk does not compile with opencv-2.4.13.3. I will return to 3.2 and try ORBSLAM2 for interface.

from skimap_ros.

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.