Git Product home page Git Product logo

final-project's Introduction

1. Prerequisites

The codes works for AR.drone 2.0 or 1.0, we assume that you already have a new one. However, if you couldn't buy it temporarily, it's available that using a simulator(http://wiki.ros.org/tum_simulator) published by TUM Robotic Group to simulate the whole process.

OpenCV:https://opencv.org/ (reconmended version: less than 3.0.0)

Egien:http://eigen.tuxfamily.org/index.php?title=Main_Page

g2o: https://github.com/RainerKuemmerle/g2o

PCL:https://github.com/PointCloudLibrary/pcl (1.8)

ardrone_autonomy(edited verison:https://github.com/tum-vision/ardrone_autonomy or original version:http://wiki.ros.org/ardrone_autonomy)

you also have to install other dependencies used for each libraries. In addition, you should create a new folder named Thirdparty under SLAM and put g2o and DBoW2 into it. Due to the limitation of the amount of uploading files, I have to upload g2o and DBow2 separately.

2. Testing environment

ros-indigo + Ubuntu 14.04(best choice)

ros-kinetic+Ubuntu 16.04(probably good)

please build up a rosbuild(http://wiki.ros.org/rosbuild) workspace to store these packages, if you want to use catkin, please edit and create relevant files.

3. Compiling problems

It is not uncommon that you fail to compile one of packages and build up new executable files. If you really find some bugs , you could send an email to editers and original author directly.

4. Acknowledgements

We use g2o for non-linear optimization, DBoW2 for loop detection, and ORBSLAM2 for feature extraction.

5. Lienses

The source code is released under GPLv3 license.

We are still working on improving the code reliability. For any technical issues, please contact Omid [email protected], Mouaad [email protected], Tengfei Han[email protected].

final-project's People

Contributors

tengfeihan0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

final-project's Issues

error: no matching function for call to ‘std::vector<std::pair<pcl::PointXYZ, cv::Point_<float> > >::vector(int, std::pair<pcl::PointXYZ, int>)’

when compiling the ros_exploration package, I received an error as below.

In member function ‘void Planning::find_farest_point(pcl::PointCloud<pcl::PointXYZ>::Ptr, PointT, PointT, float, bool)’:
/home/htf/rosbuild_ws/src/ros_exploration/src/planning.cpp:892:95: error: no matching function for call to ‘std::vector<std::pair<pcl::PointXYZ, cv::Point_<float> > >::vector(int, std::pair<pcl::PointXYZ, int>)’
     std::vector<std::pair<PointT,cv::Point2f> > _candidate_points(3,make_pair(PointT(0,0,0),0));

undefined reference to symbol '_ZN5boost6system15system_categoryEv'

when compiling the SLAM package, I got an error like this

/usr/bin/x86_64-linux-gnu-ld: CMakeFiles/SLAM.dir/src/ros_mono.cc.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/lib/x86_64-linux-gnu/libboost_system.so: error adding symbols: DSO missing from command line

Then I followed the solution listed in [https://github.com/raulmur/ORB_SLAM2/issues/494]
add -lboost_system into CMakeLists.txt

set(LIBS 
${OpenCV_LIBS} 
${EIGEN3_LIBS}
${Pangolin_LIBRARIES}
${PROJECT_SOURCE_DIR}/Thirdparty/DBoW2/lib/libDBoW2.so
${PROJECT_SOURCE_DIR}/Thirdparty/g2o/lib/libg2o.so
${PROJECT_SOURCE_DIR}/lib/libORB_SLAM2.so
-lboost_system)

however, I can't fix this problem.

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.