Skip to content

[JSB] Remove dynamic_joint_states and use INDIVIDUAL_BEST_EFFORT for interfaces#2187

Merged
christophfroehlich merged 9 commits into
ros-controls:masterfrom
pal-robotics-forks:joint_state_broadcaster/cleanup
May 17, 2026
Merged

[JSB] Remove dynamic_joint_states and use INDIVIDUAL_BEST_EFFORT for interfaces#2187
christophfroehlich merged 9 commits into
ros-controls:masterfrom
pal-robotics-forks:joint_state_broadcaster/cleanup

Conversation

@saikishor
Copy link
Copy Markdown
Member

@saikishor saikishor commented Feb 25, 2026

This cleans up the deprecated dynamic joint states and then uses the INDIVIDUAL_BEST_EFFORT part to handle the joint_states topic

NOT TO BE BACKPORTED

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 26, 2026

Codecov Report

❌ Patch coverage is 83.72093% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.41%. Comparing base (60f1db8) to head (45c6732).

Files with missing lines Patch % Lines
..._state_broadcaster/src/joint_state_broadcaster.cpp 68.18% 3 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2187      +/-   ##
==========================================
+ Coverage   85.20%   85.41%   +0.20%     
==========================================
  Files         145      145              
  Lines       15384    15375       -9     
  Branches     1322     1314       -8     
==========================================
+ Hits        13108    13132      +24     
+ Misses       1790     1761      -29     
+ Partials      486      482       -4     
Flag Coverage Δ
unittests 85.41% <83.72%> (+0.20%) ⬆️

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

Files with missing lines Coverage Δ
...oint_state_broadcaster/joint_state_broadcaster.hpp 100.00% <ø> (ø)
..._broadcaster/test/test_joint_state_broadcaster.cpp 97.56% <100.00%> (+0.09%) ⬆️
..._state_broadcaster/src/joint_state_broadcaster.cpp 85.97% <68.18%> (+15.76%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

bmagyar
bmagyar previously approved these changes Mar 11, 2026
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.

Changes LGTM. This is possibly a behavior change, if the urdf does not contain a joint otherwise published with interface_configuration_type::ALL?
At least a hint in the release notes would be great.

@saikishor
Copy link
Copy Markdown
Member Author

Changes LGTM. This is possibly a behavior change, if the urdf does not contain a joint otherwise published with interface_configuration_type::ALL?
At least a hint in the release notes would be great.

Right now, it does use filter URDF joints parameter in doing so. Sure, I can add to the release notes

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.

In file included from /workspaces/ros2_ipc_ws/src/ros2_controllers/joint_state_broadcaster/test/test_joint_state_broadcaster.cpp:32:
/workspaces/ros2_ipc_ws/src/ros2_controllers/joint_state_broadcaster/test/test_joint_state_broadcaster.hpp:57:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   57 | constexpr char * kThreeJointURDF = R"(
      |                                    ^~~
...
---
Finished <<< joint_state_broadcaster [27.1s]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 4, 2026

This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete.

@github-actions github-actions Bot added the stale label May 4, 2026
@github-actions github-actions Bot removed the stale label May 6, 2026
@christophfroehlich christophfroehlich moved this from WIP to Needs review in Review triage May 17, 2026
@christophfroehlich christophfroehlich merged commit 01f6f40 into ros-controls:master May 17, 2026
23 of 30 checks passed
@christophfroehlich christophfroehlich deleted the joint_state_broadcaster/cleanup branch May 17, 2026 16:25
@github-project-automation github-project-automation Bot moved this from Needs review to Done in Review triage May 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.

3 participants