-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tf2 in groovy defines unnecessary CATKIN_DEPENDS (e.g. on rospy) #18
Comments
fixed in groovy 6c8ea39 |
I also miss boost as DEPENDS, used in https://github.com/ros/geometry_experimental/blob/hydro-devel/tf2/include/tf2/buffer_core.h I could go on. E.g. Correct me if I am wrong, but a review process for the catkin_package macro should go like this:
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? |
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. |
Since geometry_msgs::msg::TransformStamped is declared with an empty constructor, all of its fields are uninitialized. This means that anytime we want to use it, we must initialize all fields ourselves. The tests in simple_tf2_core.cpp were failing to do this, so parts of tf2 were making decisions on basically random data. This was causing a bunch of valgrind failures. With this commit, the test becomes valgrind clean. Signed-off-by: Chris Lalancette <clalancette@osrfoundation.org>
I checked the .pc files generated for a fresh groovy source install.
I get:
I am not 110% sure, but I believe there is no need ever for a library to know of rospy to build against tf2, diagnostic_aggregator or interactive_markers. So it seems to me those have flawed CMakeLists.txt
Possibly more exported dependencies than rospy are superfluous there (e.g. actionlib stuff).
Also see:
http://answers.ros.org/question/58498/what-is-the-purpose-of-catkin_depends/
I am too lazy to create individual tickets for each of the packages above, especially since I might be wrong.
The text was updated successfully, but these errors were encountered: