Skip to content

Add alias for old topic_based_ros2_control#87

Merged
christophfroehlich merged 4 commits into
mainfrom
alias/topic_based_ros2_control
Feb 9, 2026
Merged

Add alias for old topic_based_ros2_control#87
christophfroehlich merged 4 commits into
mainfrom
alias/topic_based_ros2_control

Conversation

@christophfroehlich

Copy link
Copy Markdown
Member

Not sure if this is helpful for migration like reported here

@codecov-commenter

codecov-commenter commented Feb 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.89%. Comparing base (de2ce35) to head (4327986).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
...rface/src/joint_state_topic_hardware_interface.cpp 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   78.02%   77.89%   -0.13%     
==========================================
  Files           6        6              
  Lines         455      457       +2     
  Branches       45       46       +1     
==========================================
+ Hits          355      356       +1     
- Misses         69       70       +1     
  Partials       31       31              
Flag Coverage Δ
unittests 77.89% <0.00%> (-0.13%) ⬇️

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

Files with missing lines Coverage Δ
...rface/src/joint_state_topic_hardware_interface.cpp 60.67% <0.00%> (-1.40%) ⬇️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MarqRazz MarqRazz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Long term I do plan to make more topic based systems (like GPIO) so calling the JointState approach the only TopicBasedSystem seems limiting.

…e_interface_plugin_description.xml

Co-authored-by: Marq Rasmussen <marq.razz@gmail.com>
@christophfroehlich

Copy link
Copy Markdown
Member Author

But this is only the alias/magic name for the same plugin. It has a different prefix topic_based_ros2_control, so there won't be any conflict in the future?

@MarqRazz MarqRazz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm fine with the alias but like I said it seems limiting. Once we have GpioTopicSystem it could also be/is a TopicBasedSystem as far as the name goes. So I personally wouldn't suggest using the alias, but understand it is helpful for users migrating.

When we moved this library over to ros2_control we decided to be specific and name each one after the type the topic based system it based on but a simple alias is fine with me.

@saikishor saikishor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As it is done for backward compatibility reasons, it looks good to me.

christophfroehlich and others added 2 commits February 9, 2026 09:26
Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
@christophfroehlich

Copy link
Copy Markdown
Member Author

I added a runtime deprecation warning, manually tested with the rrbot of the test folder
2: [ros2_control_node-2] [WARN] [1770626646.226306039] [rrr_joint_state_system]: Plugin name 'topic_based_ros2_control/TopicBasedSystem' is deprecated, upgrade to 'joint_state_topic_hardware_interface/JointStateTopicSystem' of package'joint_state_topic_hardware_interface' instead.

@saikishor

Copy link
Copy Markdown
Member

I like it. Thank you 👌🏽👌🏽

@christophfroehlich
christophfroehlich merged commit f61dd7c into main Feb 9, 2026
31 of 32 checks passed
@christophfroehlich
christophfroehlich deleted the alias/topic_based_ros2_control branch February 9, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants