ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The best way is to create a third package that only contains the message definition. Otherwise you will need to build action-server-package whenever you want to use the client-package and this can get messy if it has some external dependencies. This is e.g. useful if you want to run an action client on an arduino or other smaller system on which it is impossible or inconvenient to build the full project.
In most cases, this third package is called [base_name]_msgs to show that it only contains message (or action) definitions. Both other packages will only depend on this package and not on each other.
2 | No.2 Revision |
The best way is to create a third package that only contains the message definition. Otherwise you will need to build action-server-package the server-package whenever you want to use the client-package and this can get messy if it has some external dependencies. This is e.g. useful especially if you want to run an action client on an arduino or other smaller system on which it is impossible or inconvenient to build the full project.
In most cases, this third package is called [base_name]_msgs to show that it only contains message (or action) definitions. Both other packages will only depend on this package and not on each other. other.