-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for "ambiguous" message names (#106)
The algorithm for resolving ROS type names inside message definitions that don't have a package specified is, - If it's a primitive, use the primitive value. - If it's the (reserved) type name `Header`, it's `std_msgs/Header`. - Otherwise, use the package of the containing message. (Note _containing_ message, not top-level message.) This unfortunately necessitates a breaking change in API. Message definitions can't be unambiguously parsed without knowing the package of the top-level message. (Definition MD5s are similarly ambiguous.) This felt like a good time to merge the named/unnamed definition types. Test plan: - Unit tests have been updated to use the new API. - Tested against a development version of webviz. Works on a bag I checked, and fixes the "ambiguous datatype" issue reported by a user. Co-authored-by: Matthew STEEL <matt.STEEL@getcruise.com>
- Loading branch information
1 parent
788856d
commit 66e06ae
Showing
12 changed files
with
245 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.