You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add custom messages to my ignition project. Since ign-msgs doesn't seem to expose this functionality, I had to copy the cmake macro ign_msgs_protoc from ign-msgs/src/CMakeLists.txt into my own project, along with the generator source files: ign-msgs/src/Generator.cc, ign-msgs/src/Generator.hh, ign-msgs/src/generator_main.cc. Although this works, it's not a clean solution. Are there any plans to export the message generation framework so it can be used by other projects?
The text was updated successfully, but these errors were encountered:
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).
Could you elaborate on your use case? Ignition Transport is able to publish any Protobuf messages, not only Ignition Messages. See the example here where a custom string message is created and published with publisher_custom_msg. Does that cover your use case?
Are there any plans to export the message generation framework so it can be used by other projects?
I don't think there is. But if there's a valid use case we could consider.
Original report (archived issue) by Anonymous.
Summary
I'm trying to add custom messages to my ignition project. Since
ign-msgs
doesn't seem to expose this functionality, I had to copy the cmake macroign_msgs_protoc
fromign-msgs/src/CMakeLists.txt
into my own project, along with the generator source files:ign-msgs/src/Generator.cc
,ign-msgs/src/Generator.hh
,ign-msgs/src/generator_main.cc
. Although this works, it's not a clean solution. Are there any plans to export the message generation framework so it can be used by other projects?The text was updated successfully, but these errors were encountered: