Skip to content

Use multi-threaded component container, do not use intraprocess comms in Servo#723

Merged
tylerjw merged 4 commits intomoveit:mainfrom
tylerjw:servo_mt_component_container
Oct 11, 2021
Merged

Use multi-threaded component container, do not use intraprocess comms in Servo#723
tylerjw merged 4 commits intomoveit:mainfrom
tylerjw:servo_mt_component_container

Conversation

@tylerjw
Copy link
Copy Markdown
Member

@tylerjw tylerjw commented Oct 4, 2021

Based off:

Description

As the multi-threaded component container (and executor) are now usable in ROS Rolling we should switch to using them with servo and its tests.

Checklist

@tylerjw tylerjw changed the title Use multi-threaded component container in servo" Use multi-threaded component container in servo Oct 4, 2021
@tylerjw tylerjw force-pushed the servo_mt_component_container branch from 883fb8f to c0e531a Compare October 4, 2021 19:53
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 4, 2021

Codecov Report

Merging #723 (cef0159) into main (e1fff4d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #723   +/-   ##
=======================================
  Coverage   54.23%   54.23%           
=======================================
  Files         192      192           
  Lines       20224    20224           
=======================================
  Hits        10966    10966           
  Misses       9258     9258           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 26a2ab7...cef0159. Read the comment docs.

Copy link
Copy Markdown
Member

@henningkayser henningkayser left a comment

Choose a reason for hiding this comment

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

Huh, I wasn't aware about this... Good improvement

@henningkayser henningkayser mentioned this pull request Oct 5, 2021
4 tasks
Copy link
Copy Markdown
Member

@AndyZe AndyZe left a comment

Choose a reason for hiding this comment

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

I think this type of change should at least be tested with the tutorial to verify that publications to the controller have the right rate. (Which I would normally do but I guess it will have to wait a week.)

Copy link
Copy Markdown
Contributor

@schornakj schornakj left a comment

Choose a reason for hiding this comment

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

For the projects I work on that use Servo, I have not encountered any bugs, regressions, or weird behavior since switching to running the ServoNode component through the multithreaded component container.

@tylerjw
Copy link
Copy Markdown
Member Author

tylerjw commented Oct 8, 2021

@AndyZe @henningkayser @JafarAbdi this PR depends on a separate PR: #722

Should I separate these so we can merge this one separately, or do you all approve the other PR as well?

@AndyZe
Copy link
Copy Markdown
Member

AndyZe commented Oct 8, 2021

I`m fine merging this and closing the other PR

@AndyZe AndyZe changed the title Use multi-threaded component container in servo Use multi-threaded component container, do not use intraprocess comms in Servo Oct 8, 2021
@henningkayser
Copy link
Copy Markdown
Member

@AndyZe @henningkayser @JafarAbdi this PR depends on a separate PR: #722

Should I separate these so we can merge this one separately, or do you all approve the other PR as well?

I think it's fine merging both. With #722 merged we should still review the QOS settings everywhere and see if we can or should enable intra process comm again.

@tylerjw
Copy link
Copy Markdown
Member Author

tylerjw commented Oct 8, 2021

Jafar is doing the release right now so I'm going to wait on merging any of these until he finishes.

@tylerjw tylerjw merged commit b9f1a83 into moveit:main Oct 11, 2021
@tylerjw tylerjw deleted the servo_mt_component_container branch October 11, 2021 21:05
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.

5 participants