Dependency on actionlib when building .action files
- Up to today's latest wiki page of actionlib lists
actionlib
as a required dependency withactionlib_msgs
to build a package that includes.action
files, along. However, in Catkin's doc (melodic) only
actionlib_msgs
is a required dependency.To generate actions, add actionlib_msgs as a dependency
Which one is correct?
UPDATE1: Responding to the comment from @Dirk Thomas:
The referenced wiki page does not only mention building a package with
.action
files but also contains examples how to use the action server / client. Therefore I would highly suggest to revert your change since it will make the page incomplete / incorrect.
I still think the wiki should present only the minimal dependency example first, so showing dependency on actionlib_msgs
suffices because:
- The portion of wiki I referred to is specifically under "
.action file
" section. - It's not official AFAIK, but my understanding is the practice in ROS is to separate message/service/action definition files in a designated package (e.g. #q11835). For a package that contains .action but no code, adding a dependency on
action_msgs
should be enough, according to your answer.- Of course creating a package that contains both .action files and code that depends on actionlib api is not restricted at all, but I'm not sure if the actionlib's wiki page needs to present that info, let alone in ".action file" section.