-
Notifications
You must be signed in to change notification settings - Fork 874
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature request
Feature description
This feature is a subset of the functionality now described in REP-2011 ros-infrastructure/rep#358
- Provide an equivalent of the ROS 1 message hashsum to detect message definition mismatches across topics.
- Provide a way to discover and communicate the definition of message types from remote topics at runtime.
Use Cases
- Record and store definitions for messages in
rosbag2for inspection of bags on systems that may not have message definitions installed, or whose local definitions of messages may have evolved since recording - Inspect messages in off-host visualization tools - such as RViz, Foxglove Studio, and Webviz, for plotting or printing of message contents
Implementation considerations
Reference spec in REP-2011 ros-infrastructure/rep#358
TODO
Based on current state of REP-2011 design and implementation discussion, this list will keep up to date
- Finalize REP-2011 design (for this feature subset)
-
TypeDescriptioninterfaces for representing and communicating type info - Type Hash
- Hash type description at code generation time
- Hash TypeDescriptions at runtime
- Expose type hashes to typesupport
- Distribute type hashes during discovery
- Add type hash to rmw_topic_endpoint_info_t (rep2011) rmw#348
- Type hash in GraphCache, user_data encoding tools rmw_dds_common#70
- Type hash distribution in discovery (rep2011) rmw_fastrtps#671
- Type hash distribution in discovery (rep2011) rmw_cyclonedds#437
- Type hash distribution during discovery (rep2011) rmw_connextdds#104
- Type Description and Raw Sources code generation
- Copied type_description_interfaces structs (rep2011) rosidl#732
- Type Description Codegen and Typesupport (rep2011) rosidl#727
- Extend TypeDescription codegen with referenced type inclusion, disable option, raw sources emersonknapp/rosidl#10
- Type Description Nested Support rosidl_typesupport#141
- Type Description Nested Support rosidl_typesupport_fastrtps#101
- Use get_type_hash_func on typesupports (rep2011) rmw_fastrtps#680
- Use get_type_hash_func on typesupports (rep2011) rmw_connextdds#113
- Use get_type_hash_func on typesupports (rep2011) rmw_cyclonedds#448
- Use get_type_hash_func on typesupports (rep2011) rcl#1053
- (For Iron Freeze) Type Description distribution
Post-Iron Followups (to be backported to Iron)
- Type Hash Distribution (
get_type_descriptionservice)- C core
- C++ client exposure
- Python client exposure
- CLI access to type description / hash
Related Issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done