Skip to content

Conversation

@tonynajjar
Copy link
Contributor

This PR exposes the call_timeout of the spawner to be optionally set by the user

Angsa Deployment Team added 2 commits October 22, 2024 12:02
Signed-off-by: Angsa Deployment Team <[email protected]>
Signed-off-by: Angsa Deployment Team <[email protected]>
@codecov
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.01%. Comparing base (23bd1c3) to head (a495547).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1808      +/-   ##
==========================================
+ Coverage   87.97%   88.01%   +0.03%     
==========================================
  Files         121      121              
  Lines       12403    12404       +1     
  Branches     1105     1105              
==========================================
+ Hits        10912    10917       +5     
+ Misses       1085     1083       -2     
+ Partials      406      404       -2     
Flag Coverage Δ
unittests 88.01% <100.00%> (+0.03%) ⬆️

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

Files with missing lines Coverage Δ
.../controller_manager/controller_manager_services.py 79.85% <100.00%> (+0.74%) ⬆️
controller_manager/controller_manager/spawner.py 72.65% <100.00%> (+0.43%) ⬆️

... and 1 file with indirect coverage changes

---- 🚨 Try these New Features:

Copy link
Member

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

LGTM, but please rebase/merge on master and update the release_notes and docs as I've done in this PR.

@tonynajjar
Copy link
Contributor Author

tonynajjar commented Nov 6, 2024

LGTM, but please rebase/merge on master and update the release_notes and docs as I've done in this PR.

Done. I believe CI is failing not because of this PR

Co-authored-by: Christoph Fröhlich <[email protected]>
Copy link
Member

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

LGTM, thanks for the follow-up!

Signed-off-by: Tony Najjar <[email protected]>
@tonynajjar
Copy link
Contributor Author

I rebased to master and resolved conflicts caused by https://github.com/ros-controls/ros2_control/pull/1790/files. Could you please review @christophfroehlich @saikishor

type=float,
)
parser.add_argument(
"--controller-manager-call-timeout",
Copy link
Member

Choose a reason for hiding this comment

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

can we change this to --service-call--timeout? just to have a shorter naming? I'm saying as in future if we add more services, then it would be more generic.
@christophfroehlich what's your opinion on this one?

Copy link
Contributor Author

@tonynajjar tonynajjar Nov 25, 2024

Choose a reason for hiding this comment

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

I changed it already. It's an easy revert if @christophfroehlich disagrees. I don't have any strong opinion

Signed-off-by: Tony Najjar <[email protected]>
saikishor
saikishor previously approved these changes Nov 25, 2024
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.

LGTM

Co-authored-by: Sai Kishor Kothakota <[email protected]>
Copy link
Member

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

LGTM

@christophfroehlich christophfroehlich added the backport-humble Triggers PR backport to ROS 2 humble. label Nov 25, 2024
@christophfroehlich christophfroehlich merged commit 41d7393 into ros-controls:master Nov 25, 2024
19 of 20 checks passed
mergify bot pushed a commit that referenced this pull request Nov 25, 2024
---------

Signed-off-by: Angsa Deployment Team <[email protected]>
Signed-off-by: Tony Najjar <[email protected]>
Co-authored-by: Angsa Deployment Team <[email protected]>
Co-authored-by: Christoph Fröhlich <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
(cherry picked from commit 41d7393)

# Conflicts:
#	controller_manager/controller_manager/controller_manager_services.py
#	controller_manager/doc/userdoc.rst
#	doc/release_notes.rst
christophfroehlich added a commit that referenced this pull request Nov 25, 2024
---------

Signed-off-by: Angsa Deployment Team <[email protected]>
Signed-off-by: Tony Najjar <[email protected]>
Co-authored-by: Angsa Deployment Team <[email protected]>
Co-authored-by: Christoph Fröhlich <[email protected]>
Co-authored-by: Sai Kishor Kothakota <[email protected]>
christophfroehlich pushed a commit that referenced this pull request Dec 16, 2024
---------

Signed-off-by: Angsa Deployment Team <[email protected]>
Signed-off-by: Tony Najjar <[email protected]>
Co-authored-by: Tony Najjar <[email protected]>
Co-authored-by: Angsa Deployment Team <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-humble Triggers PR backport to ROS 2 humble.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants