| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Signed-off-by: CY Chen <cyc@nvidia.com>
|
Can you give an example of what real world metadata would look like ? |
Sorry, something went wrong.
|
Each vendor rosidl buffer backend can include a string that contains backend specific information/data (what we call as backend metadata) in the endpoint information that it wants to share with the same type of backends in other endpoints. While the actual backend metadata really depends on each vendor's needs, a good example would be for a backend to share information like the GPU resources an endpoint has access to so the backends in other endpoints can determine if it's compatible or not. |
Sorry, something went wrong.
There was a problem hiding this comment.
lgtm with green CI.
Sorry, something went wrong.
|
I got one point here, is this supposed to be human readable or is it just binary data ? |
Sorry, something went wrong.
|
My point would be, if it is binary, switch to std::vector<std::byte>instead of string. |
Sorry, something went wrong.
|
The metadata exposed here is intended to be textual (human readable) that matches what a backend's BufferBackend::get_backend_metadata() returns as std::string, thus keeping it std::string can fulfill our needs here. |
Sorry, something went wrong.
Signed-off-by: CY Chen <cyc@nvidia.com>
|
Tick the box to add this pull request to the merge queue (same as @mergifyio queue).
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Expose buffer backend metadata through rclcpp::TopicEndpointInfo.
This lets C++ users of get_publishers_info_by_topic() and get_subscriptions_info_by_topic() access backend support metadata provided by the RMW graph.
Is this user-facing behavior change?
Yes. C++ graph introspection code can now read rosidl buffer backend support information from topic endpoint info.
Did you use Generative AI?
Yes. GPT-5.5 in Cursor was used to help draft changes in this pull request.
Additional Information
Depending on: