-
Notifications
You must be signed in to change notification settings - Fork 57
Add GetTypeDescription.srv (rep2011) #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
clalancette
merged 9 commits into
ros2:rolling
from
emersonknapp:emersonknapp/type-description-distribution
Mar 23, 2023
+56
−2
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2cbbd21
Add GetTypeDescription.srv
emersonknapp fb7a19c
Add format clarification comments and fix formatting
emersonknapp 6f8d286
Update service from design discussion
emersonknapp 71c97ae
Fix unfinished thought and clarify comments from review
emersonknapp 6756fdb
Type raw sources in a list of submessages
emersonknapp c5998a7
Use type_hash instead of type_version_hash
emersonknapp 2ec42ec
Update to cpp17 while we are here, like the rest of the pkgs in the repo
emersonknapp 1db9478
Update encoding information and resulting logical updates
emersonknapp a2b4f4e
Add better documentation for TypeSource
emersonknapp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| string key | ||
| string value |
This file contains hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # ROS interface type name, in PACKAGE/NAMESPACE/TYPENAME format | ||
| string type_name | ||
|
|
||
| # REP-2011 RIHS hash string, which looks like RIHSxx_hashvalue | ||
| string type_version_hash | ||
|
|
||
| # Whether to return the raw idl or msg file(s) in the response, if available | ||
| bool include_raw_description true | ||
| --- | ||
| # include_raw_description requested, and provided successfully | ||
| uint8 RAW_DESCRIPTION_REQUESTED_PROVIDED = 0 | ||
| # include_raw_description disabled, so type_description_raw was left empty | ||
| uint8 RAW_DESCRIPTION_NOT_REQUESTED_NOT_PROVIDED = 1 | ||
| # include_raw_description requested, but no raw version available (perhaps for dynamically created types) | ||
| uint8 RAW_DESCRIPTION_REQUESTED_NOT_AVAILABLE = 2 | ||
|
|
||
| # True if the type description information is available and populated in the response | ||
|
emersonknapp marked this conversation as resolved.
Outdated
|
||
| # If false, all other fields except `reason` are considered undefined | ||
| bool successful | ||
| # If `successful` is false, contains a reason for failure. | ||
| # On success, may contain a reason for missing type_description_raw. | ||
| string reason | ||
|
|
||
| # Contains a value from RAW_DESCRIPTION_ constants, explaining whether the | ||
| # `type_description_raw_file_name` and `type_description_raw` fields contain valid data. | ||
| uint8 type_description_raw_result | ||
|
|
||
| # The idl or msg file name | ||
| # Empty if not available, which will be noted in `reason` | ||
| string type_description_raw_file_name | ||
|
|
||
| # The idl or msg file, with comments and whitespace | ||
| # The file extension and/or the contents can be used to determine the format | ||
| # This contains all recursive raw files, each separated by a line of 80 '=' characters | ||
| # The order will be the same as the TypeDescription - | ||
| # which is top level interface, then referenced type descriptions in alphabetical order by type_name | ||
| string type_description_raw | ||
|
emersonknapp marked this conversation as resolved.
Outdated
emersonknapp marked this conversation as resolved.
Outdated
|
||
|
|
||
| # The parsed type description which can be used programmatically | ||
| TypeDescription type_description | ||
|
|
||
| # Key-value pairs of extra information. | ||
| KeyValue[] extra_information | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.