Closed definitelyuncertain closed 1 year ago
Yes, this does indeed seem to be the case. It is interesting that the messages still show up in ros2 interface list
, but at the moment ros2 interface show
needs to have these in the msg
or srv
subdirectory.
Would you mind opening a pull request to https://github.com/ros2/ros2_documentation/blob/rolling/source/Tutorials/Beginner-Client-Libraries/Custom-ROS2-Interfaces.rst with that change?
Hi, I've made a PR. I forgot to mention, I was using Galactic. Should I make a separate pull request for that branch too?
Hi, I've made a PR. I forgot to mention, I was using Galactic. Should I make a separate pull request for that branch too?
No, we have a bot that will automatically backport it. Thanks for making the PR.
@definitelyuncertain can you close this, everything has been merged including backport to humble, galactic and foxy.
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 calledmsg
, I got an error about the.idl
file not being found when querying withros2 interface show
. The error went away when I renamed the folder tomsg
.So it appears that the
.msg
files are expected to be in themsg
directory in the package. The tutorial on the other hand suggests that it is recommended but not an issue to do otherwise: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?