Giter Site home page Giter Site logo

tengfeihan0 / final-project Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 1.23 MB

autonomous flight and obstacles avoidance

License: GNU General Public License v3.0

CMake 3.03% Makefile 1.59% C++ 92.44% Common Lisp 1.09% Python 0.76% C 1.08%
ardrone ardrone-autonomy obstacle-avoidance orbslam2 path-planning

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.