Handle 'best_available' QoS policies in common #85
Merged
jacobperron merged 7 commits intomasterfrom May 3, 2022
Merged
Conversation
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Author
|
I've added 7480115 following up the conversation in #84 (comment). That triggered some failures in the system test https://github.com/ros2/system_tests/pull/501/files <testcase name="test_best_available_policies_subscription" status="run" result="completed" time="0.313" timestamp="2022-04-28T16:52:18" classname="test_quality_of_service.QosRclcppTestFixture__rmw_connextdds">
<failure message="/home/jrivero/code/ros2/ws_qos_adaptative/src/ros2/system_tests/test_quality_of_service/test/test_best_available.cpp:76
Expected equality of these values:
 actual_qos.reliability()
 Which is: 4-b
Expected equality of these values:
actual_qos.reliability()
Which is: 4-byte object <01-00 00-00>
publisher_qos_profile.reliability()
Which is: 4-byte object <02-00 00-00>]]></failure>
<failure message="/home/jrivero/code/ros2/ws_qos_adaptative/src/ros2/system_tests/test_quality_of_service/test/test_best_available.cpp:78
Expected equality of these values:
 actual_qos.deadline()
 Which is: 16-byt
Expected equality of these values:
actual_qos.deadline()
Which is: 16-byte object <F8-34 5A-26 37-7F 00-00 FF-FF FF-FF FF-FF FF-7F>
publisher_qos_profile.deadline()
Which is: 16-byte object <F8-34 5A-26 37-7F 00-00 80-84 1E-00 00-00 00-00>]]></failure>
<failure message="/home/jrivero/code/ros2/ws_qos_adaptative/src/ros2/system_tests/test_quality_of_service/test/test_best_available.cpp:80
Expected equality of these values:
 actual_qos.liveliness_lease_duration()

Expected equality of these values:
actual_qos.liveliness_lease_duration()
Which is: 16-byte object <F8-34 5A-26 37-7F 00-00 FF-FF FF-FF FF-FF FF-7F>
publisher_qos_profile.liveliness_lease_duration()
Which is: 16-byte object <F8-34 5A-26 37-7F 00-00 C0-C6 2D-00 00-00 00-00>]]></failure>
</testcase> Am I missing a change in this PR or the changes are wrong? |
jacobperron
reviewed
Apr 28, 2022
jacobperron
reviewed
Apr 28, 2022
Co-authored-by: Jacob Perron <jacob@openrobotics.org>
Co-authored-by: Jacob Perron <jacob@openrobotics.org>
Author
|
One more final change to make |
jacobperron
reviewed
Apr 30, 2022
Co-authored-by: Jacob Perron <jacob@openrobotics.org>
jacobperron
approved these changes
May 2, 2022
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Alternative to #84 after feedback received there.
I did not find problems on building or testing using this new approach. The PR looks cleaner.