Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement QoS: liveliness, deadline, lifespan (#171)
* initial qos interface changes Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * add creation of event waitable type Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Add rmw take_event interface Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * add rmw event type enum Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Modify events type from void** to rmw_event_t** Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * fix lint errors Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Added RMW QoS Event Definitions Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Added RMW QoS Event Definitions Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Code formatting fixes Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Change liveliness policy types to reflect actual settings Signed-off-by: Emerson Knapp <[email protected]> Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Comment out types of liveliness that will not be supported in this iteration of the feature Signed-off-by: Emerson Knapp <[email protected]> Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Re-enable manual liveliness, name to by_node Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Fixed style issues Removed unsupported QoS types Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Removed extra QoS types Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * add an invalid enum in rmw_event_type_t for variables to default to Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * change rmw_event_t APIs from create()/destroy() to init()/fini() pattern Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Move rmw_*_event_init implementation to rmw **Summary** Event initialization should require no modifications from the underlying rmw layer and therefore can be initialized in the rmw layer. Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Fix uncrustify divergence in event.c Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Remove erroneous rmw_delete_event Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Implement QoS: liveliness, deadline, lifespan **Summary** Provide init/fini and take functions for events. Modify wait_set to include event handles for notification of status changes. Details: * ADD initial qos interface changes * ADD rmw take_event interface * ADD rmw event type enum * MODIFY events type from void** to rmw_event_t** * ADD RMW QoS Event Definitions * ADD section about DCO to CONTRIBUTING.md * EDIT liveliness policy types to reflect actual settings * ADD an invalid enum in rmw_event_type_t for variables to default to * MOVE rmw_*_event_init implementation to rmw ** Event initialization should require no modifications from the underlying rmw layer and therefore can be initialized in the rmw layer. Signed-off-by: Ross Desmond <[email protected]> Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Added missing documentation Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Edited added struct names for consistency Edited method signatures to follow const correctness Addressed style / linting review comments Updated documentation style Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * add assert_liveliness() APIs Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * address comments in PR (github.com/aws-ros-dev/pull/4) Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Edited documentation to account for unexpected errors Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * modify doc string regarding the requirement of asserting liveliness Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Edit documentation block to fix linting errors Signed-off-by: Devin Bonnie <[email protected]> Signed-off-by: Burek <[email protected]> * Addressed documentation issues found in review Signed-off-by: Devin Bonnie <[email protected]>
- Loading branch information