Skip to content
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

Remove empty on_shutdown() callbacks #1477

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

Juliaj
Copy link
Contributor

@Juliaj Juliaj commented Jan 9, 2025

Address #1474

Copy link
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

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

@Juliaj can you also remove all other empty callbacks? Not only that of on_shutdown?. I believe we need this general cleanup

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.86%. Comparing base (7ddaf83) to head (8961e00).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1477      +/-   ##
==========================================
+ Coverage   83.83%   83.86%   +0.03%     
==========================================
  Files         122      122              
  Lines       11120    11113       -7     
  Branches      944      942       -2     
==========================================
- Hits         9322     9320       -2     
+ Misses       1489     1485       -4     
+ Partials      309      308       -1     
Flag Coverage Δ
unittests 83.86% <ø> (+0.03%) ⬆️

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

Files with missing lines Coverage Δ
...de/diff_drive_controller/diff_drive_controller.hpp 100.00% <ø> (ø)
...iff_drive_controller/src/diff_drive_controller.cpp 71.18% <ø> (+0.49%) ⬆️
...jectory_controller/joint_trajectory_controller.hpp 100.00% <ø> (ø)
...ory_controller/src/joint_trajectory_controller.cpp 83.93% <ø> (-0.03%) ⬇️
...nclude/tricycle_controller/tricycle_controller.hpp 100.00% <ø> (ø)
tricycle_controller/src/tricycle_controller.cpp 66.80% <ø> (+0.54%) ⬆️

... and 2 files with indirect coverage changes

@christophfroehlich christophfroehlich linked an issue Jan 9, 2025 that may be closed by this pull request
8 tasks
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 for taking this one! We can remove the other callbacks also in a different PR if you like.

Copy link
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

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

If @christophfroehlich is fine with it. I'm fine with it ;)

@christophfroehlich christophfroehlich added the backport-humble This label should be used by maintainers only! Label triggers PR backport to ROS2 humble. label Jan 9, 2025
@christophfroehlich christophfroehlich merged commit abf3172 into ros-controls:master Jan 9, 2025
23 of 26 checks passed
mergify bot pushed a commit that referenced this pull request Jan 9, 2025
(cherry picked from commit abf3172)

# Conflicts:
#	diff_drive_controller/include/diff_drive_controller/diff_drive_controller.hpp
#	joint_trajectory_controller/include/joint_trajectory_controller/joint_trajectory_controller.hpp
#	tricycle_controller/include/tricycle_controller/tricycle_controller.hpp
christophfroehlich pushed a commit that referenced this pull request Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-humble This label should be used by maintainers only! Label triggers PR backport to ROS2 humble.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove empty on_shutdown() callbacks
3 participants