Giter Site home page Giter Site logo

Comments (3)

k-okada avatar k-okada commented on July 2, 2024

1, I do not think I can maintain several branches, and you can see many
example which someone start proposing developing distro-based branch and
fail to maintain them.

curl -L
https://raw.githubusercontent.com/ros/rosdistro/master/jade/distribution.yaml
| grep version
curl -L
https://raw.githubusercontent.com/ros/rosdistro/master/kinetic/distribution.yaml
| grep version
  1. opencv_apps code should not depends on ros version, because basically
    newer ros distro should not break old ros API so if you write ROS code that
    runs on hydro, that code should run with kinetic

3 you can see following example to switch opencv2/opencv3, but I recommend
not to write code heavily depends on new features of opencv3, unless you
can keep maintain that code.

https://github.com/ros-perception/opencv_apps/pull/35/files

#ifndef CV_BRIDGE_COMPRESSED_IMAGE_IS_NOT_SUPPORTED

◉ Kei Okada

2016-09-27 17:00 GMT+09:00 Furushchev [email protected]:

Just noticed that indigo branch is main branch of this repository, and
pull request to the branch is also tested on hydro, jade and kinetic.
In kinetic it seems to be use opencv3 (not opencv2) by default and it has
not compatibility among them.
How should I put application for kinetic?

My proposal is:

split branches according with ros distro:

  • indigo(-devel)

    • jade(-devel)

    - kinetic(-devel)

    split with opencv version:

  • opencv2

    • opencv3 (this may break on incompatibility between opencv minor
      versions 2.x, 3.x)

Also I should use on PR2 which means creating backport branch to hydro (I
understand hydro is already EOL.)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#42, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAeG3OOuiu1ap0tdWSNZBkK46S2eTh8tks5quM0PgaJpZM4KHXM6
.

from opencv_apps.

furushchev avatar furushchev commented on July 2, 2024

@k-okada Thank you for clarifying. At this time, I managed to add some codes to keep compatibility.
Please note that opencv3 has significant change on header file structure.
e.g. in opencv2, #include <opencv2/opencv.hpp> includes all features, but to use face detection / recognition in opencv3, we must also append #include <opencv2/face.hpp>.
https://github.com/ros-perception/opencv_apps/pull/41/files#diff-9caf2824838f089a7f76dc27ca88ed9dR74

from opencv_apps.

k-okada avatar k-okada commented on July 2, 2024

such node could not compile on opencv2, so we will add ifdef within cmake,
not source code.

◉ Kei Okada

2016-09-28 15:01 GMT+09:00 Furushchev [email protected]:

@k-okada https://github.com/k-okada Thank you for clarifying. At this
time, I managed to add some codes to keep compatibility.
Please note that opencv3 has significant change on header file structure.
e.g. in opencv2, #include <opencv2/opencv.hpp> includes all features, but
to use face detection / recognition in opencv3, we must also append #include
<opencv2/face.hpp>.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#42 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAeG3MYRMkXxIyEFLSyR2twPli4M4WAYks5qugLCgaJpZM4KHXM6
.

from opencv_apps.

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.