Fix JTC test speed scaling publisher (backport #2153)#2162
Merged
christophfroehlich merged 1 commit intokiltedfrom Feb 10, 2026
Merged
Fix JTC test speed scaling publisher (backport #2153)#2162christophfroehlich merged 1 commit intokiltedfrom
christophfroehlich merged 1 commit intokiltedfrom
Conversation
(cherry picked from commit 2058720)
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## kilted #2162 +/- ##
=======================================
Coverage 85.15% 85.15%
=======================================
Files 151 151
Lines 14566 14569 +3
Branches 1260 1260
=======================================
+ Hits 12403 12406 +3
Misses 1716 1716
Partials 447 447
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
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.
I'm working on adding a test to the JTC but when running
masterlocally it fails on my machine. I use CycloneDDS in my setup so that is likely why CI is passing (because FastDDS isn't enforcing this) but the output from the failure pointed to an easy fix.When I run locally you can see the test publisher to
/test_joint_trajectory_controller/speed_scaling_inputhas the wrong QoS settings...because using
rclcpp::SystemDefaultsQoS()lets the underlying RMW choose the settings, which almost always defaults to Volatile.To fix this I set the publisher to
Transient Localdurability to ensure it doesn't miss the value changes published in the test.This is an automatic backport of pull request #2153 done by [Mergify](https://mergify.com).