-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does support for custom messages work. #123
Comments
Where are your messages located? The actual |
They are actually in a subfolder for our (mono)-repo, so |
Oh I never considered if |
I have following structure:
All custom messages are under
In
|
Wow, thank you both for the answers. And thank you for making this project btw @adnanademovic, you have done a lot of great work :) @andresv Thanks for that solution, I'll try it out. Is that also how you are building the rust project in the catkin workspace? @adnanademovic If you give me some pointers where to start, I've checked the proc-macro code a bit. I could try to make a PR for that? |
@tdejager, yes, this how my rust nodes are integrated with catkin. So basically others almost even do not know that there are rust nodes. They just run |
+1 for searching subdirectories as @adnanademovic says. |
Hi,
This is more of a question than an issue. I wanted to test the rosrust library with our own message types. But I'm unable to get it working with our workspace setup. The catkin workspace is set-up, and everything is sourced. It seems that the
include_message
macro looks at the following locations:So that is the
share
folder for the catkin workspace and thesource
folder. However, I think that the messages for packages in the user workspace are not copied to theshare
folder. At least, I can't seem to find them there. As opposed tostd_msgs
, which are included in the installation.Also as for the source folder, the required package is not located directly in the root, but in a subdirectory.
Am I missing something? Could you maybe share some info on how the include macro is supposed to work or how your workspace is setup?
Thanks!
The text was updated successfully, but these errors were encountered: