Repository navigation
Clock subscription callback group spins in its own thread #1556
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
Merged
fujitatomoya
merged 24 commits into
ros2:master
from
wyca-robotics:clock_sub_callback_group
Mar 29, 2021
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
4c164e0
Clock subscription callback group spins in its own thread
anaelle-sw 217c904
fix line length
anaelle-sw 4130d78
fix code style divergence
anaelle-sw 459aaae
fix code style divergence
anaelle-sw 75e5888
Initialize only once clock_callbackgroup
anaelle-sw 12837ad
Check if thread joinable before start a new thread
anaelle-sw faacd8f
Cancel executor and join thread in destroy_clock_sub
anaelle-sw a713a7e
Check if clock_thread_ is joinable before cancel executor and join
anaelle-sw 60be5e0
Add use_clock_thread as an option
anaelle-sw 7bcf587
Fix code style divergence
anaelle-sw b8e75fc
Fix code style divergence
anaelle-sw f4568a1
Fix code style divergence
anaelle-sw 4965bb9
Add TimeSource tests
anaelle-sw 88b9fea
update use_clock_thread value in function attachNode
anaelle-sw 00d762c
join clock thread in function detachNode
anaelle-sw 4441a1f
TimeSource tests: fixes + comments + more tested cases
anaelle-sw 0dfd56c
clean destroy_clock_sub()
anaelle-sw 6eefc01
flag to ensure clock_executor is cancelled
anaelle-sw cd15fa3
Always re-init clock_callback_group when creating a new clock sub
anaelle-sw a8f3c2f
spin_until_future_complete() to cleanly cancel executor
anaelle-sw 698e5fb
fix tests warnings
anaelle-sw 9afd726
fix test error: cancel clock executor
anaelle-sw e16e184
clean comments
anaelle-sw fdd2390
fix precision loss
anaelle-sw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.