Skip to content

Remove deprecated feedforward parameter+service #1753

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

Merged
merged 2 commits into from
Jun 11, 2025

Conversation

pascalau
Copy link
Contributor

Deprecates the marked service and parameter from #1553. Also adopts tests and fixes compiler warning of the package due to optionals.

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.

Can you please remove changes due to optionals? For consistency, we have a long going PR in fixing them all at once: #1566

@pascalau pascalau force-pushed the deprecate_enable_ff branch from 3575b89 to 21fd458 Compare June 10, 2025 11:56
@pascalau
Copy link
Contributor Author

Sorry was not aware of the other PR. Should be fixed now.

Copy link

codecov bot commented Jun 10, 2025

Codecov Report

Attention: Patch coverage is 94.11765% with 1 line in your changes missing coverage. Please review.

Project coverage is 86.23%. Comparing base (e3cc6d8) to head (21fd458).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
pid_controller/src/pid_controller.cpp 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1753      +/-   ##
==========================================
- Coverage   86.29%   86.23%   -0.07%     
==========================================
  Files         123      123              
  Lines       11941    11890      -51     
  Branches      995      993       -2     
==========================================
- Hits        10305    10253      -52     
- Misses       1333     1336       +3     
+ Partials      303      301       -2     
Flag Coverage Δ
unittests 86.23% <94.11%> (-0.07%) ⬇️

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

Files with missing lines Coverage Δ
pid_controller/test/test_pid_controller.cpp 100.00% <100.00%> (ø)
pid_controller/test/test_pid_controller.hpp 86.66% <ø> (+0.52%) ⬆️
...roller/test/test_pid_controller_dual_interface.cpp 100.00% <ø> (ø)
pid_controller/src/pid_controller.cpp 71.30% <80.00%> (-2.34%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Thanks, this LGTM!

Copy link
Contributor

@Juliaj Juliaj left a comment

Choose a reason for hiding this comment

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

LGTM. Demo example_16 (https://github.com/ros-controls/ros2_control_demos/tree/master/example_16) needs to be updated correspondingly.

@christophfroehlich christophfroehlich changed the title Deprecate feedforward mode Remove deprecated feedforward parameter+service Jun 11, 2025
@christophfroehlich christophfroehlich merged commit 63448a3 into ros-controls:master Jun 11, 2025
20 of 27 checks passed
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