-
Notifications
You must be signed in to change notification settings - Fork 11
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
Change msg generation for nicer paths #19
Comments
@knuesel |
Good question. A global directory such as
Did you mean a subdirectory of the Dart package? Actually I'm starting to like how it currently works :) I think for people working with a catkin workspace the current workflow makes sense. Users can choose themselves a canonical location for the package (either the default For the action test in
Ideas for improvements:
What do you think? |
I like your suggestions. I'm fine with how it is right now as well, I end up copying it as part of the catkin build. I think a more configurable generation process would be good. However, I'm not sure many people would use dartros without also having some sort of manipulation / other package that would require catkin, so I'm thinking the protoc like option is very low priority. I'm going to put this issue as low priority since we both find that it works well enough for our use cases. |
We can probably change the CMake to copy the message packages into the workspace, or in a global location.
Best practices? What should we do?
What global location?
~/.dart_msgs
?$WORKSPACE/.dart_msgs
I like the idea of a hidden folder by default.Alternatives:
Use Dart's generation process along with annotations on imports to have messages generated only for the places they are used. Seems inefficient if you have multiple packages using the same messages.
Copy the packages into a subdirectory of the catkin package that is using them. Downside: Also duplicates the message package, and might cause package include conflicts when you have dart packages depending on each other but both importing the message package from different paths.
The text was updated successfully, but these errors were encountered: