segeschecho / openekfmonoslam Goto Github PK
View Code? Open in Web Editor NEWSimultaneous Localization And Mapping system. Uses EKF filter and a monocular sequence of images.
License: GNU General Public License v3.0
Simultaneous Localization And Mapping system. Uses EKF filter and a monocular sequence of images.
License: GNU General Public License v3.0
I tried to compile the main like this: g++ -std=c++11 main.cpp pkg-config --cflags --libs opencv
-o output in folder: OpenEKFMonoSLAM/kalmanFilter/samples/EKF and it cannot compile because it gives several undefined references:
/tmp/ccUaVdR5.o: In function write(cv::FileStorage&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, State const&)': main.cpp:(.text+0x23): undefined reference to
State::write(cv::FileStorage&) const'
/tmp/ccUaVdR5.o: In function read(cv::FileNode const&, State&, State const&)': main.cpp:(.text+0x5d): undefined reference to
State::operator=(State const&)'
main.cpp:(.text+0x72): undefined reference to State::read(cv::FileNode const&)' /tmp/ccUaVdR5.o: In function
main':
main.cpp:(.text+0xac): undefined reference to Timer::Timer()' main.cpp:(.text+0xbb): undefined reference to
Timer::start()'
main.cpp:(.text+0x175): undefined reference to FileSequenceImageGenerator::FileSequenceImageGenerator(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int)' main.cpp:(.text+0x1ed): undefined reference to
FileSequenceImageGenerator::init()'
main.cpp:(.text+0x297): undefined reference to EKF::EKF(char const*, char const*)' main.cpp:(.text+0x2a6): undefined reference to
FileSequenceImageGenerator::getNextImage()'
main.cpp:(.text+0x2ea): undefined reference to EKF::init(cv::Mat const&)' main.cpp:(.text+0x321): undefined reference to
FileSequenceImageGenerator::getNextImage()'
main.cpp:(.text+0x365): undefined reference to EKF::step(cv::Mat const&)' main.cpp:(.text+0x374): undefined reference to
FileSequenceImageGenerator::getNextImage()'
main.cpp:(.text+0x39a): undefined reference to Timer::getElapsedTimeInMilliSec()' main.cpp:(.text+0x3ea): undefined reference to
Timer::stop()'
main.cpp:(.text+0x3fe): undefined reference to EKF::~EKF()' main.cpp:(.text+0x42b): undefined reference to
FileSequenceImageGenerator::~FileSequenceImageGenerator()'
main.cpp:(.text+0x43a): undefined reference to Timer::~Timer()' main.cpp:(.text+0x4e8): undefined reference to
EKF::~EKF()'
main.cpp:(.text+0x51f): undefined reference to FileSequenceImageGenerator::~FileSequenceImageGenerator()' main.cpp:(.text+0x533): undefined reference to
Timer::~Timer()'
collect2: error: ld returned 1 exit status
What should I do?
Thanks.
hey,
I have run the code in PC, and it seems that the result is not good.
do you have any demos to show a good result?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.