Skip to content

Fix generic system in chainable controllers #2252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

InigoMoreno
Copy link

Fixes #2250

@bmagyar bmagyar changed the title Fix generic system in chainable contrllers Fix generic system in chainable controllers May 19, 2025
Copy link

codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.94%. Comparing base (73d5dca) to head (44e3933).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2252      +/-   ##
==========================================
- Coverage   88.97%   88.94%   -0.03%     
==========================================
  Files         143      143              
  Lines       16449    16453       +4     
  Branches     1422     1424       +2     
==========================================
- Hits        14635    14634       -1     
- Misses       1262     1266       +4     
- Partials      552      553       +1     
Flag Coverage Δ
unittests 88.94% <100.00%> (-0.03%) ⬇️

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

Files with missing lines Coverage Δ
...e_interface/src/mock_components/generic_system.cpp 83.96% <100.00%> (ø)

... 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.

@InigoMoreno
Copy link
Author

The failures in the workflow seem to be unrelated to this pull request

@saikishor saikishor added the backport-jazzy This label should be used by maintainers only! Label triggers PR backport to ROS 2 jazzy. label May 23, 2025
@saikishor saikishor enabled auto-merge (squash) May 23, 2025 07:54
Copy link
Contributor

@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.

Isn't this probably be "auto-fixed" with #2120 @saikishor?
We should add a test for that, but where would it fit? test_controllers_chaining_with_controller_manager.cpp with using generic_system instead of test_actuator?

@saikishor
Copy link
Member

Isn't this probably be "auto-fixed" with #2120 @saikishor? We should add a test for that, but where would it fit? test_controllers_chaining_with_controller_manager.cpp with using generic_system instead of test_actuator?

You are absolutely right. #2120 should avoid this issue. The tests are already added in the PR: #2120 right?

@bmagyar
Copy link
Member

bmagyar commented May 24, 2025

@InigoMoreno could you please check if the issue still persists with the latest master branch? Is there any other case your PR would solve or are we good to close it unmerged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-jazzy This label should be used by maintainers only! Label triggers PR backport to ROS 2 jazzy.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generic system Mock components does not work well with chained interfaces.
4 participants