Closed tfoote closed 3 months ago
I see the problem.
The Developer guide for package layout does not mention the location of messages, services, and actions, but it does give locations for /test and /doc. If I followed that specifically, I would exclude /test and /doc rather than only include /msg, /srv, and /action. Is there an official source that restricts these to specific named folders?
Note the test case full_package specifically includes a test case (for the service) that is outside the "official" location.
The message generation processes will only look in those directories. I've opened a PR for https://github.com/ros2/ros2_documentation/pull/4246 to add it to the developer guide.
Packages like rclcpp have test content in sub folders which are not advertised messages. However they're being added to the package documentation.
We should limit the discovery of messages to be in the msg directory.