Can custom messages be located within a package?
I am attempting to use a custom message inside of a publisher. Currently they exist in the same package. The python file in src/ and the message in msg/. It seems like in most examples, people do not put them in the same package. It also seems like msg/ is stored at the workspace level.
I am having trouble importing the message from a python file in the same package as the message.
Please let me know what the convention is around this topic, and if you have any suggestions as to why the import statement is not working.
(CMakeLists.txt and package.xml of the package are fine)
Thank you,
edit: rosmsg show package_name/msg_name works