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

Allow to get thread handle in RealtimePublisher #228

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

roncapat
Copy link
Contributor

@roncapat roncapat commented Dec 9, 2024

Trying to close #176 as suggested by @firesurfer.

@codecov-commenter
Copy link

codecov-commenter commented Dec 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.16%. Comparing base (78f0372) to head (999c724).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #228   +/-   ##
=======================================
  Coverage   73.16%   73.16%           
=======================================
  Files           7        7           
  Lines         436      436           
  Branches       72       72           
=======================================
  Hits          319      319           
  Misses         73       73           
  Partials       44       44           
Flag Coverage Δ
unittests 73.16% <ø> (ø)

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

Files with missing lines Coverage Δ
include/realtime_tools/realtime_publisher.hpp 96.36% <ø> (ø)

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.

Why not something like this?

include/realtime_tools/realtime_publisher.hpp Outdated Show resolved Hide resolved
@roncapat roncapat marked this pull request as draft December 9, 2024 22:34
@saikishor
Copy link
Member

@roncapat Can you please fix the pre-commit?

@roncapat roncapat changed the title Allow to rename thread in RealtimePublisher (via inheritance) Allow to get thread handle in RealtimePublisher Dec 12, 2024
Signed-off-by: Patrick Roncagliolo <ronca.pat@gmail.com>
@roncapat roncapat marked this pull request as ready for review December 12, 2024 08:28
@saikishor saikishor requested a review from firesurfer December 12, 2024 09:17
Copy link
Contributor

@firesurfer firesurfer 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 the argument from @saikishor is true. Inheriting would be cubersome. Let's just expose it like this.

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

@saikishor saikishor merged commit 70d93ba into ros-controls:master Dec 16, 2024
18 checks passed
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.

Allow to rename thread in RealtimePublisher
5 participants