A question about Modification of package.xml

Dear all,

In the example of a package.xml, the std_msgs is included in build_depend. Is this necessary?
As it says:

  • Note that you haven’t imported the std_msgs package anywhere. But you can use the messages declared there in your custom .actions. That’s because this package forms part of the roscore file systems, so therefore, it’s embedded in the compilation protocols, and no declaration of use is needed.*


And when I simply put all dependences on catkin_create_pkg, like:
catkin_create_pkg example_pkg rospy actionlib actionlib_msgs std_msgs
Does this have some side effects?

thank you in advance!


Yes, please see the post below:

None that I know of :wink:.