-
Notifications
You must be signed in to change notification settings - Fork 281
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
inter-package task dependencies still documented recommendation #547
Comments
Duh, sorry, indeed the variable name had been changed to the suffix Also see |
The catkin_pkg template contains
which is perfectly correct. |
For the first answers question the correct answer is already stated. For the second one there is still missing information to be provided by the questioner. |
Yes, sorry, for the catkin_create_pkg. Created #548 instead. Second answers question was just to show people may not be aware of catkin_EXPORTED_TARGETS, and it might be good to remind them (even if they have other problems). |
@dirk-thomas wrote:
I hate to drag up an old thread like this, but just to be clear: is referring to There seems to be quite some confusion about this, judging from the discussions that can be found on the web (not just ROS Answers). |
|
follow up at 2021: if the |
As discussed here: https://groups.google.com/forum/?fromgroups#!searchin/ros-sig-buildsystem/package$20dependency/ros-sig-buildsystem/dvVO5QCHBLM/QtXUOf7EOhQJ
and solved here:
ros/genmsg#26
it is bad practice to refer to the names of tasks in other packages, like
instead the recommended practice was to be
Yet the former is still the documented approach for writing catkin packages, e.g. here:
http://wiki.ros.org/ROS/Tutorials/WritingPublisherSubscriber%28c%2B%2B%29
or here:
http://wiki.ros.org/catkin/migrating_from_rosbuild
add an add_dependencies() call to the targets generating the message headers, e.g. geometry_msgs_gencpp
Also it still rendered by
catkin_create_pkgWhen solved, also consider updating responses at:
The text was updated successfully, but these errors were encountered: