Hi, I was following the tutorial on Creating custom msg and srv files.
When I placed my .msg file in a folder that was not called msg, I got an error about the .idl file not being found when querying with ros2 interface show. The error went away when I renamed the folder to msg.
So it appears that the .msg files are expected to be in the msg directory in the package. The tutorial on the other hand suggests that it is recommended but not an issue to do otherwise:
It is good practice to keep .msg and .srv files in their own directories within a package.
If it is the case that the directory needs to be called msg, then the tutorial needs to state explicitly as such. Could somebody confirm this?