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

Avoid using the global arguments for internal controller nodes #1694

Conversation

saikishor
Copy link
Member

This PR avoids the influence of global arguments on the new nodes created in the same process

Fixes: #1684

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.

This works, thanks for the quick fix!

@christophfroehlich christophfroehlich added backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. backport-iron This label should be used by maintaines only! Label triggers PR backport to ROS2 Iron. and removed backport-humble This label should be used by maintaines only! Label triggers PR backport to ROS2 humble. backport-iron This label should be used by maintaines only! Label triggers PR backport to ROS2 Iron. labels Aug 19, 2024
Copy link
Contributor

@olivier-stasse olivier-stasse left a comment

Choose a reason for hiding this comment

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

The code modification looks good but they are plenty errors with the CI...
Is this normal given that the head of master if fully green as well as some other PRs ?

@saikishor
Copy link
Member Author

The code modification looks good but they are plenty errors with the CI... Is this normal given that the head of master if fully green as well as some other PRs ?

Hello @olivier-stasse, As we fixed the issue with the global args, it seems like one of the test is using global args. That's the reason it failed. I just pushed a fix. Let's wait for the CI

Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.67%. Comparing base (079392b) to head (f4f19ff).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1694      +/-   ##
==========================================
- Coverage   86.67%   86.67%   -0.01%     
==========================================
  Files         115      115              
  Lines       10523    10526       +3     
  Branches      970      970              
==========================================
+ Hits         9121     9123       +2     
  Misses       1054     1054              
- Partials      348      349       +1     
Flag Coverage Δ
unittests 86.67% <100.00%> (-0.01%) ⬇️

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

Files Coverage Δ
...controller_interface/controller_interface_base.hpp 87.50% <100.00%> (ø)
...oller_interface/test/test_controller_interface.cpp 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

Copy link
Contributor

@olivier-stasse olivier-stasse left a comment

Choose a reason for hiding this comment

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

@saikishor Thanks for the quick fix. I am not waiting for the ABI tests to be valid. The others seems to be fine.

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

Very good! I've rebased for another round of CI but otherwise good to go!

@bmagyar bmagyar merged commit 4498d25 into ros-controls:master Aug 19, 2024
19 checks passed
@bmagyar bmagyar deleted the avoid/global_arguments/controllers branch August 19, 2024 11:40
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.

Naming controller_manager causes multiple controller_manager to spawn and spawner node fail
4 participants