GithubHelp home page GithubHelp logo

Comments (3)

tfoote avatar tfoote commented on July 19, 2024

fixed in groovy 6c8ea39

from geometry2.

tkruse avatar tkruse commented on July 19, 2024

I also miss boost as DEPENDS, used in https://github.com/ros/geometry_experimental/blob/hydro-devel/tf2/include/tf2/buffer_core.h
On the other hand, I am not sure whether console_bridge should be exported as dependency, given it's not used in the public headers.

I could go on.

E.g.
tf2_bullet: misses geometry_msgs and tf2 as exports
tf2_geometry_msgs: tf2_ros is exported but not used
tf2_kdl: misses geometry_msgs (both as find_package as well as in catkin_depends), and tf2 as catkin_depends

Correct me if I am wrong, but a review process for the catkin_package macro should go like this:

  1. Check the package author did not do something unorthodox and installs headers from somewhere else than /include//*.h (if he did, this should probably in itself be a style ticket, in conventional packages)
  2. Look what is used in the /include//*.h files (and only those)
  3. Make sure all packages mentioned there are declared in catkin_package as DEPENDS or CATKIN_DEPENDS
  4. Anything in catkin_package not mentioned in any of the headers should go, unless it's something exceptional (genmsg, not sure what else would count)

The more packages get this worng, the more people will be confused and annoyed about catkin. I think except for packages catkinized by maybe Dirk or Vincent, most packages get the DEPENDS and CATKIN_DEPENDS wrong. Maybe that is a hint that those keywords are not helpful and self-explaining, but confusing?

from geometry2.

tkruse avatar tkruse commented on July 19, 2024

Note I am not just talking about the tf2 packages here, I am talking about hydro in general. Sampling over at a few catkin packages in hydro, I see many packages flawed that way, and that is a major problem in the general introduction of catkin.

from geometry2.

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.