Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Add function to get publisher actual qos settings #350

Merged
merged 3 commits into from
Apr 1, 2019

Conversation

ivanpauno
Copy link
Member

@ivanpauno ivanpauno commented Mar 27, 2019

Implements api added in ros2/rmw#169

Should I add an implementation for rmw_connext_dynamic_cpp? It's currently being ignored (with an AMENT_IGNORE file).

Connects to ros2/rmw#169

@ivanpauno ivanpauno self-assigned this Mar 27, 2019
@ivanpauno ivanpauno requested review from mjcarroll and hidmic March 27, 2019 15:41
@ivanpauno ivanpauno added the in progress Actively being worked on (Kanban column) label Mar 27, 2019
Copy link
Contributor

@hidmic hidmic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM pending green CI.

}
DDS::DataWriterQos dds_qos;
DDS::ReturnCode_t status = data_writer->get_qos(dds_qos);
if (status != DDS::RETCODE_OK) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ivanpauno literal go on the left for comparisons, per our C style guide.

DDS::DataWriterQos dds_qos;
DDS::ReturnCode_t status = data_writer->get_qos(dds_qos);
if (status != DDS::RETCODE_OK) {
RMW_SET_ERROR_MSG("publisher internal can't get data writer qos policies");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ivanpauno extra internal ?

@ivanpauno ivanpauno added in review Waiting for review (Kanban column) and removed in progress Actively being worked on (Kanban column) labels Mar 28, 2019
@ivanpauno
Copy link
Member Author

Overall LGTM pending green CI.

Done

@ivanpauno
Copy link
Member Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@ivanpauno ivanpauno merged commit 8fc64c5 into master Apr 1, 2019
@ivanpauno ivanpauno removed the in review Waiting for review (Kanban column) label Apr 1, 2019
@wjwwood wjwwood deleted the ivanpauno/publisher_get_actual_qos branch April 1, 2019 20:52
@wjwwood
Copy link
Member

wjwwood commented Apr 1, 2019

Was this supposed to be merged? The API it implements was not merged yet, as far as I can tell: ros2/rmw#169

@wjwwood
Copy link
Member

wjwwood commented Apr 1, 2019

Nevermind, I seem to have caught you mid merge.

dabonnie pushed a commit to aws-ros-dev/rmw_connext that referenced this pull request Apr 3, 2019
* Implement rmw_publisher_get_actual_qos in rmw_connext_cpp

Signed-off-by: ivanpauno <[email protected]>

* Implement rmw_publisher_get_actual_qos in rmw_connext_dynamic_cpp

Signed-off-by: ivanpauno <[email protected]>
Signed-off-by: Devin Bonnie <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants