Repository navigation
Added possibility to set history policy - #1098
Merged
jhanca-robotecai merged 2 commits intoSep 22, 2026
Merged
Conversation
Signed-off-by: Norbert Prokopiuk <norbert.prokopiuk@robotec.ai>
jhanca-robotecai
requested changes
Sep 21, 2026
jhanca-robotecai
left a comment
Collaborator
There was a problem hiding this comment.
The test are failing due to some hardcoded values in WheelOdometry:
[ctest] cwd = /home/jhanca/devroot/projects/AllTemplates/build/2610/External/ROS2Controllers-197b7cdd/Code
[ctest] LIB: /home/jhanca/devroot/projects/AllTemplates/build/2610/bin/profile/libROS2Controllers.Editor.Tests.so
[ctest] Loading: /home/jhanca/devroot/projects/AllTemplates/build/2610/bin/profile/libROS2Controllers.Editor.Tests.so
[ctest] OKAY Library loaded: /home/jhanca/devroot/projects/AllTemplates/build/2610/bin/profile/libROS2Controllers.Editor.Tests.so
[ctest] OKAY Symbol found: AzRunUnitTests
[ctest] WARNING: unrecognized parameters: --platform, minimal,
[ctest] Note: Google Test filter = -*SUITE_smoke*:*SUITE_periodic*:*SUITE_benchmark*:*SUITE_sandbox*:*SUITE_awsi*
[ctest] [==========] Running 2 tests from 1 test suite.
[ctest] [----------] Global test environment set-up.
[ctest] [----------] 2 tests from ROS2ControllersTestFixture
[ctest] [ RUN ] ROS2ControllersTestFixture.Deserialize_WhenOldSchemaProvided_StoresSuccessfully
[ctest] /home/jhanca/devroot/2610/o3de-extras/Gems/ROS2Controllers/Code/Tests/WheelOdometrySensorConfigurationSerializationTest.cpp:85: Failure
[ctest] Value of: actualJson == expectedJson
[ctest] Actual: false
[ctest] Expected: true
[ctest]
[ctest] [ FAILED ] ROS2ControllersTestFixture.Deserialize_WhenOldSchemaProvided_StoresSuccessfully (0 ms)
[ctest] [ RUN ] ROS2ControllersTestFixture.Deserialize_WhenNewSchemaProvided_StoresSuccessfully
[ctest] /home/jhanca/devroot/2610/o3de-extras/Gems/ROS2Controllers/Code/Tests/WheelOdometrySensorConfigurationSerializationTest.cpp:154: Failure
[ctest] Value of: actualJson == expectedJson
[ctest] Actual: false
[ctest] Expected: true
[ctest]
[ctest] [ FAILED ] ROS2ControllersTestFixture.Deserialize_WhenNewSchemaProvided_StoresSuccessfully (0 ms)
[ctest] [----------] 2 tests from ROS2ControllersTestFixture (1 ms total)
[ctest]
[ctest] [----------] Global test environment tear-down
[ctest] [==========] 2 tests from 1 test suite ran. (511 ms total)
[ctest] [ PASSED ] 0 tests.
[ctest] [ FAILED ] 2 tests, listed below:
[ctest] [ FAILED ] ROS2ControllersTestFixture.Deserialize_WhenOldSchemaProvided_StoresSuccessfully
[ctest] [ FAILED ] ROS2ControllersTestFixture.Deserialize_WhenNewSchemaProvided_StoresSuccessfully
[ctest]
[ctest] 2 FAILED TESTS
[ctest] OKAY AzRunUnitTests() returned 1
[ctest] Retry command:
[ctest] /home/jhanca/devroot/projects/AllTemplates/build/2610/bin/profile/AzTestRunner /home/jhanca/devroot/projects/AllTemplates/build/2610/bin/profile/libROS2Controllers.Editor.Tests.so AzRunUnitTests
[ctest] Returning code: 1
[ctest]
[ctest]
[ctest] 0% tests passed, 1 tests failed out of 1
Signed-off-by: Norbert Prokopiuk <norbert.prokopiuk@robotec.ai>
Contributor
Author
|
@jhanca-robotecai thanks for review, I applied fixes to your comments |
jhanca-robotecai
approved these changes
Sep 22, 2026
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.
What does this PR do?
Pr adds possibility to control topic QoS history policy. Previously all topics were hardcoded as KeepLast
How was this PR tested?
built as non-unity and created topic with new KeepAll policy. policy verified using
ros2 topic info /topic_name --verbose