Skip to content

Change the tests to work without deprecated PID settings#1824

Merged
christophfroehlich merged 4 commits intomasterfrom
pid/fix/deprecationwarnings
Jul 22, 2025
Merged

Change the tests to work without deprecated PID settings#1824
christophfroehlich merged 4 commits intomasterfrom
pid/fix/deprecationwarnings

Conversation

@christophfroehlich
Copy link
Copy Markdown
Member

@christophfroehlich christophfroehlich commented Jul 21, 2025

as per title. I had to fix some test criteria as the integral action is not added at the first update call (integration is done after calculating the command).

needs ros-controls/control_toolbox#432

@christophfroehlich christophfroehlich added the backport-jazzy Triggers PR backport to ROS 2 jazzy. label Jul 21, 2025
Comment thread ros2_controllers.kilted.repos Outdated
Comment thread ros2_controllers.rolling.repos Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.66%. Comparing base (76c07f9) to head (90b5965).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1824   +/-   ##
=======================================
  Coverage   85.66%   85.66%           
=======================================
  Files         123      123           
  Lines       12408    12406    -2     
  Branches     1056     1055    -1     
=======================================
- Hits        10629    10628    -1     
  Misses       1430     1430           
+ Partials      349      348    -1     
Flag Coverage Δ
unittests 85.66% <100.00%> (+<0.01%) ⬆️

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% <100.00%> (-0.15%) ⬇️
...roller/test/test_pid_controller_dual_interface.cpp 100.00% <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.

Copy link
Copy Markdown
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

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

thanks for doing the math :D

@christophfroehlich christophfroehlich merged commit bf253f1 into master Jul 22, 2025
20 of 27 checks passed
@christophfroehlich christophfroehlich deleted the pid/fix/deprecationwarnings branch July 22, 2025 17:46
mergify Bot pushed a commit that referenced this pull request Jul 22, 2025
(cherry picked from commit bf253f1)

# Conflicts:
#	pid_controller/test/test_pid_controller.cpp
#	pid_controller/test/test_pid_controller.hpp
#	pid_controller/test/test_pid_controller_dual_interface.cpp
greencookie-afk pushed a commit to greencookie-afk/ros2_controllers that referenced this pull request Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-jazzy Triggers PR backport to ROS 2 jazzy.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants