Sorry I thought you are talking about CFRadio lib, you got this error because you need to enable C++ 11 support for <thread>deathbrad wrote:Hi
I get this error :
CFRadioController.h :
Lexical or Processor issue
"thread not found"
In the file include from /Users/.../flightdynamics/CameraDetection/CFRadioController.cpp:10:
I am running on OSX 10.10 and xcode 6.3.2
Camera controlled crazyflie
Re: Camera controlled crazyflie
Re: Camera controlled crazyflie
HI,
Now on Xcode in "build setting" on C++ Standard Library i set : libc++ (LLVM C++ standard library withC++11 support)
With this setting i get some errors :
Undefined symbols for architecture x86_64:
"cv::Algorithm::getList(std::__1::vector<cv::String, std::__1::allocator<cv::String> >&)", referenced from:
CMT::initialise(cv::Mat, cv::Point_<float>, cv::Point_<float>) in CMT.o
"cv::_InputArray::getMatVector(std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >&) const", referenced from:
vtable for cv::_InputOutputArray in StaticTracking.o
vtable for cv::_InputOutputArray in DynamicTracking.o
vtable for cv::_InputOutputArray in BallTracking.o
vtable for cv::_InputOutputArray in CMT.o
"cv::_InputArray::getUMatVector(std::__1::vector<cv::UMat, std::__1::allocator<cv::UMat> >&) const", referenced from:
vtable for cv::_InputOutputArray in StaticTracking.o
vtable for cv::_InputOutputArray in DynamicTracking.o
vtable for cv::_InputOutputArray in BallTracking.o
vtable for cv::_InputOutputArray in CMT.o
"cv::FeatureDetector::detect(cv::_InputArray const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> >&, cv::_InputArray const&) const", referenced from:
CMT::initialise(cv::Mat, cv::Point_<float>, cv::Point_<float>) in CMT.o
CMT::processFrame(cv::Mat) in CMT.o
"cv::DescriptorMatcher::knnMatch(cv::_InputArray const&, cv::_InputArray const&, std::__1::vector<std::__1::vector<cv::DMatch, std::__1::allocator<cv::DMatch> >, std::__1::allocator<std::__1::vector<cv::DMatch, std::__1::allocator<cv::DMatch> > > >&, int, cv::_InputArray const&, bool) const", referenced from:
CMT::processFrame(cv::Mat) in CMT.o
"cv::DescriptorExtractor::compute(cv::_InputArray const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> >&, cv::_OutputArray const&) const", referenced from:
CMT::initialise(cv::Mat, cv::Point_<float>, cv::Point_<float>) in CMT.o
CMT::processFrame(cv::Mat) in CMT.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
That's why initialy I had changed "libc++ (LLVM C++ standard library withC++11 support)" with libstdc++(GNU C++ standard library)
Sorry it seem not easy to use for me, I don't have developer experience.
Now on Xcode in "build setting" on C++ Standard Library i set : libc++ (LLVM C++ standard library withC++11 support)
With this setting i get some errors :
Undefined symbols for architecture x86_64:
"cv::Algorithm::getList(std::__1::vector<cv::String, std::__1::allocator<cv::String> >&)", referenced from:
CMT::initialise(cv::Mat, cv::Point_<float>, cv::Point_<float>) in CMT.o
"cv::_InputArray::getMatVector(std::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >&) const", referenced from:
vtable for cv::_InputOutputArray in StaticTracking.o
vtable for cv::_InputOutputArray in DynamicTracking.o
vtable for cv::_InputOutputArray in BallTracking.o
vtable for cv::_InputOutputArray in CMT.o
"cv::_InputArray::getUMatVector(std::__1::vector<cv::UMat, std::__1::allocator<cv::UMat> >&) const", referenced from:
vtable for cv::_InputOutputArray in StaticTracking.o
vtable for cv::_InputOutputArray in DynamicTracking.o
vtable for cv::_InputOutputArray in BallTracking.o
vtable for cv::_InputOutputArray in CMT.o
"cv::FeatureDetector::detect(cv::_InputArray const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> >&, cv::_InputArray const&) const", referenced from:
CMT::initialise(cv::Mat, cv::Point_<float>, cv::Point_<float>) in CMT.o
CMT::processFrame(cv::Mat) in CMT.o
"cv::DescriptorMatcher::knnMatch(cv::_InputArray const&, cv::_InputArray const&, std::__1::vector<std::__1::vector<cv::DMatch, std::__1::allocator<cv::DMatch> >, std::__1::allocator<std::__1::vector<cv::DMatch, std::__1::allocator<cv::DMatch> > > >&, int, cv::_InputArray const&, bool) const", referenced from:
CMT::processFrame(cv::Mat) in CMT.o
"cv::DescriptorExtractor::compute(cv::_InputArray const&, std::__1::vector<cv::KeyPoint, std::__1::allocator<cv::KeyPoint> >&, cv::_OutputArray const&) const", referenced from:
CMT::initialise(cv::Mat, cv::Point_<float>, cv::Point_<float>) in CMT.o
CMT::processFrame(cv::Mat) in CMT.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
That's why initialy I had changed "libc++ (LLVM C++ standard library withC++11 support)" with libstdc++(GNU C++ standard library)
Sorry it seem not easy to use for me, I don't have developer experience.
Re: Camera controlled crazyflie
The video looks great, but the link to bitbucket is dead. Any chance you can make it public again?
Re: Camera controlled crazyflie
This link should work: https://bitbucket.org/flightdynamics/crazyflie
(found it in the comments of the YouTube video)
(found it in the comments of the YouTube video)
Re: Camera controlled crazyflie
Hello, nice work
I am a developer too, i want to know how to send the data of the sensor(camera) to the drone ?
could you explain me how to calculate the error.
How do you set the desired points ?
Thanks
I am a developer too, i want to know how to send the data of the sensor(camera) to the drone ?
could you explain me how to calculate the error.
How do you set the desired points ?
Thanks