-
-
Notifications
You must be signed in to change notification settings - Fork 60
feat: add ros2 bindings #582
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
Open
amparo-siemens
wants to merge
2
commits into
asyncapi:master
Choose a base branch
from
amparo-siemens:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"type": "object", | ||
"description": "This object contains information about the operation representation in ROS 2.", | ||
"additionalProperties": false, | ||
"patternProperties": { | ||
"^x-[\\w\\d\\.\\x2d_]+$": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json" | ||
} | ||
}, | ||
"required": [ | ||
"role", | ||
"node" | ||
], | ||
"properties": { | ||
"role": { | ||
"type": "string", | ||
"description": "Specifies the ROS 2 type of the node for this operation.", | ||
"enum": ["publisher", "action_client", "service_client", "subscriber", "action_server", "service_server"] | ||
}, | ||
"node": { | ||
"type": "string", | ||
"description": "The name of the ROS 2 node that implements this operation." | ||
}, | ||
"qosPolicies": { | ||
"type": "object", | ||
"properties": { | ||
"reliability": { | ||
"type": "string", | ||
"description": "Specifies the communication guarantee model that determines whether message delivery confirmation between publisher and subscriber is required.", | ||
"enum": ["best_effort", "realiable"] | ||
}, | ||
"history": { | ||
"type": "string", | ||
"description": "Policy parameter that defines the maximum number of samples maintained in the middleware queue", | ||
"enum": ["keep_last", "keep_all", "unknown"] | ||
}, | ||
"durability": { | ||
"type": "string", | ||
"description": "Persistence specification that determines message availability for late-joining subscribers", | ||
"enum": ["transient_local", "volatile"] | ||
}, | ||
"lifespan": { | ||
"type": "integer", | ||
"description": "The maximum amount of time between the publishing and the reception of a message without the message being considered stale or expired. -1 means infinite." | ||
}, | ||
"deadline": { | ||
"type": "integer", | ||
"description": "The expected maximum amount of time between subsequent messages being published to a topic. -1 means infinite." | ||
}, | ||
"liveliness": { | ||
"type": "string", | ||
"description": "Defines the mechanism by which the system monitors and determines the operational status of communication entities within the network.", | ||
"enum": ["automatic", "manual"] | ||
}, | ||
"leaseDuration": { | ||
"type": "integer", | ||
"description": "The maximum period of time a publisher has to indicate that it is alive before the system considers it to have lost liveliness. -1 means infinite." | ||
} | ||
} | ||
} | ||
}, | ||
"examples": { | ||
"role": "subscriber", | ||
"node": "/turtlesim", | ||
"qosPolicies": { | ||
"history": "unknown", | ||
"reliability": "reliable", | ||
"durability": "volatile", | ||
"lifespan": "-1", | ||
"deadline": "-1", | ||
"liveliness": "automatic", | ||
"leaseDuration": "-1" | ||
} | ||
} | ||
} |
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,26 @@ | ||
{ | ||
"type": "object", | ||
"description": "This object contains information about the server representation in ROS 2.", | ||
"required": ["host", "protocol"], | ||
"patternProperties": { | ||
"^x-[\\w\\d\\.\\x2d_]+$": { | ||
"$ref": "http://asyncapi.com/definitions/3.0.0/specificationExtension.json" | ||
} | ||
}, | ||
"properties": { | ||
"rmwImplementation": { | ||
"type": "string", | ||
"description": "Specifies the ROS 2 middleware implementation to be used. This determines the underlying middleware implementation that handles communication." | ||
}, | ||
"domainId": { | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 231, | ||
"description": "All ROS 2 nodes use domain ID 0 by default. To prevent interference between different groups of computers running ROS 2 on the same network, a group can be set with a unique domain ID." | ||
} | ||
}, | ||
amparo-siemens marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"examples": { | ||
"rmwImplementation": "rmw_fastrtps_cpp", | ||
"domainId": "0" | ||
} | ||
} |
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.