I agree changing other ROS features to use keyed topics is a much larger undertaking. The only thing we are specifically looking for is the ability to create a msg file which will cause them to be generated at this point. RTI's implementation looks for the (@)key at the end of the line, so realistically just passing along comments from a msg file to the IDL would make this work. For example, our msg file is below:
> string<=512 key #//(@)key
> string<=512 value
We made an update to basically pass this along so the IDL file now includes the following:
> struct Parameter_
> {
>
> string<512> key_; (@)key
> string<512> value_;
>
> }; // struct Parameter_
This obviously doesn't solve the problems with discovery that @dirk-thomas mentioned, but it allows the global parameter setup @wjwwood mentioned, which is how we are using it.
---
[Visit Topic](
https://discourse.ros.org/t/keys-in-msg/1942/6) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>