GithubHelp home page GithubHelp logo

Comments (10)

VictorLamoine avatar VictorLamoine commented on June 14, 2024 1

Ah, we need C++11 enabled. I'm using gcc 6 so C++14 is enabled by default, that's why I don't see this error.
I'll add that in the pull request right now.

from industrial_calibration.

VictorLamoine avatar VictorLamoine commented on June 14, 2024 1

Problem is here:
https://github.com/ros-industrial/industrial_calibration/blob/kinetic/industrial_extrinsic_cal/src/ros_camera_observer.cpp#L103

Solution is explained here:
http://stackoverflow.com/questions/30622304/opencv-3-blobdetection-the-function-feature-is-not-implemented-in-detectand

Not sure how I should modify the custom CircleDetector class.

from industrial_calibration.

edgeded avatar edgeded commented on June 14, 2024

Does this work for you? i.e. were you able to build all sources?
In my case CMake could find OpenCV 3 but fails building e.g. cirlce_detector

[ 85%] Building CXX object industrial_calibration/industrial_extrinsic_cal/CMakeFiles/industrial_extrinsic_cal.dir/src/circle_detector.cpp.o
In file included from .../industrial_calibration/industrial_extrinsic_cal/src/circle_detector.cpp:50:0:
.../industrial_calibration/industrial_extrinsic_cal/include/industrial_extrinsic_cal/circle_detector.hpp:101:46: error: ‘vector’ has not been declared
   virtual void detectImpl( const Mat& image, vector<KeyPoint>& keypoints, const Mat& mask=Mat() ) const;

I suppose this is due to different declarations in OpenCV 2 and OpenCV 3

from industrial_calibration.

VictorLamoine avatar VictorLamoine commented on June 14, 2024

Yes I was able to build the sources by de-activating one or two features. I'll get back to you in an hour with a pull request to show you the changes!

from industrial_calibration.

edgeded avatar edgeded commented on June 14, 2024

This would be great!
I tried some changes by myself but somehow I ended up in a mess.

from industrial_calibration.

VictorLamoine avatar VictorLamoine commented on June 14, 2024

Better late than never.. sorry!

#90, #92

from industrial_calibration.

edgeded avatar edgeded commented on June 14, 2024

Unfortunately it doesn't work for me on Ubuntu 16.10
I cloned your https://github.com/InstitutMaupertuis/industrial_calibration but get building errors e.g.

.../src/industrial_calibration/industrial_extrinsic_cal/src/nodes/ros_robot_scene_trigger_action_server.cpp:22:
/opt/ros/kinetic/include/moveit/macros/declare_ptr.h:52:16: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type
   typedef std::shared_ptr<Type> Name##Ptr;       

but thank you very much though!

from industrial_calibration.

edgeded avatar edgeded commented on June 14, 2024

Thank you very much!

from industrial_calibration.

VictorLamoine avatar VictorLamoine commented on June 14, 2024

I tried used the calibration procedure again and now I get this error:

OpenCV Error: The function/feature is not implemented () in detectAndCompute, file /tmp/binarydeb/ros-kinetic-opencv3-3.1.0/modules/features2d/src/feature2d.cpp, line 144
[ERROR] [1487148390.729431750]: Exception thrown while processing service call: /tmp/binarydeb/ros-kinetic-opencv3-3.1.0/modules/features2d/src/feature2d.cpp:144: error: (-213)  in function detectAndCompute

[ERROR] [1487148390.729564226]: Service call failed: service [/TargetLocateService] responded with an error: /tmp/binarydeb/ros-kinetic-opencv3-3.1.0/modules/features2d/src/feature2d.cpp:144: error: (-213)  in function detectAndCompute

It happens only with the modified circle detector

from industrial_calibration.

drchrislewis avatar drchrislewis commented on June 14, 2024

I believe this is now fixed with retry_dynreconfig PR

from industrial_calibration.

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.