Skip to content

Deprecate publish_dynamic_joint_states parameter in joint_state_broadcaster#2107

Merged
christophfroehlich merged 11 commits intomasterfrom
deprecate-dyn-joint-states
Mar 17, 2026
Merged

Deprecate publish_dynamic_joint_states parameter in joint_state_broadcaster#2107
christophfroehlich merged 11 commits intomasterfrom
deprecate-dyn-joint-states

Conversation

@bmagyar
Copy link
Copy Markdown
Member

@bmagyar bmagyar commented Jan 15, 2026

Second step of #2044
Only meant for rolling, not to be backported.

  • Change default value from true to false
  • Add deprecation warning in on_configure when parameter is set to true
  • Remove dynamic joint state assertions from tests

…caster

- Change default value from true to false
- Add deprecation warning in on_configure when parameter is set to true
- Remove dynamic joint state assertions from tests
@bmagyar bmagyar force-pushed the deprecate-dyn-joint-states branch from f74877c to abf2c5d Compare January 15, 2026 10:45
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 15, 2026

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.60%. Comparing base (0a9db9c) to head (989fd3c).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
..._state_broadcaster/src/joint_state_broadcaster.cpp 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2107      +/-   ##
==========================================
- Coverage   84.90%   84.60%   -0.31%     
==========================================
  Files         153      153              
  Lines       15050    14958      -92     
  Branches     1300     1297       -3     
==========================================
- Hits        12778    12655     -123     
- Misses       1797     1828      +31     
  Partials      475      475              
Flag Coverage Δ
unittests 84.60% <0.00%> (-0.31%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
..._broadcaster/test/test_joint_state_broadcaster.cpp 97.75% <ø> (+0.41%) ⬆️
..._state_broadcaster/src/joint_state_broadcaster.cpp 68.98% <0.00%> (-18.59%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

saikishor
saikishor previously approved these changes Jan 15, 2026
Copy link
Copy Markdown
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

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

looks good to me 👍🏾

Copy link
Copy Markdown
Member

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

Fine for me, except..

Comment thread doc/release_notes.rst Outdated
Comment thread doc/release_notes.rst Outdated
Copy link
Copy Markdown
Member

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

Perfect, thanks :)

Copy link
Copy Markdown
Member

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

oh no:
/home/runner/work/ros2_controllers/ros2_controllers/doc/ros2_controllers/doc/migration.rst:13: WARNING: undefined label: 'gpio_command_controller_userdoc'

Comment thread doc/migration.rst Outdated
MarqRazz
MarqRazz previously approved these changes Jan 22, 2026
saikishor
saikishor previously approved these changes Jan 22, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Feb 1, 2026

This pull request is in conflict. Could you fix it @bmagyar?

@bmagyar bmagyar dismissed stale reviews from christophfroehlich, saikishor, and MarqRazz via 820a796 March 16, 2026 16:23
@bmagyar bmagyar marked this pull request as ready for review March 16, 2026 16:23
saikishor
saikishor previously approved these changes Mar 16, 2026
@christophfroehlich christophfroehlich dismissed stale reviews from saikishor and themself via 989fd3c March 16, 2026 19:26
@christophfroehlich christophfroehlich moved this from WIP to Needs review in Review triage Mar 16, 2026
@christophfroehlich christophfroehlich enabled auto-merge (squash) March 17, 2026 07:22
@christophfroehlich christophfroehlich merged commit 88138fb into master Mar 17, 2026
17 of 18 checks passed
@christophfroehlich christophfroehlich deleted the deprecate-dyn-joint-states branch March 17, 2026 07:25
@github-project-automation github-project-automation Bot moved this from Needs review to Done in Review triage Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants