-
Notifications
You must be signed in to change notification settings - Fork 479
Utilize rclcpp::WaitSet as part of the executors #2142
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
Merged
Changes from 61 commits
Commits
Show all changes
106 commits
Select commit
Hold shift + click to select a range
2bf88de
Deprecate callback_group call taking context
mjcarroll 9099635
Add base executor objects that can be used by implementors
mjcarroll 2426056
Template common operations
mjcarroll 173ffd6
Address reviewer feedback:
mjcarroll a524bf0
Lint
mjcarroll 89f2106
Address reviewer feedback and fix templates
mjcarroll 9695eaa
Merge branch 'rolling' into mjcarroll/executor_structures
mjcarroll e173e5a
Lint and docs
mjcarroll 653d1a3
Make executor own the notify waitable
mjcarroll a6c4c1b
Add pending queue to collector, remove from waitable
mjcarroll 9dd48ce
Change interrupt guard condition to shared_ptr
mjcarroll 6267741
Lint and docs
mjcarroll 974e845
Utilize rclcpp::WaitSet as part of the executors
mjcarroll 1b1a915
Don't exchange atomic twice
mjcarroll 0a9c9a6
Fix add_node and add more tests
mjcarroll 0ae0bea
Make get_notify_guard_condition follow API tick-tock
mjcarroll 87f41bf
Improve callback group tick-tocking
mjcarroll 5809328
Don't lock twice
mjcarroll debe396
Address reviewer feedback
mjcarroll c4b6589
Add thread safety annotations and make locks consistent
mjcarroll 8782fff
Merge branch 'mjcarroll/executor_structures' into mjcarroll/rclcpp_wa…
mjcarroll 0c912b6
@wip
mjcarroll ae9a845
Reset callback groups for multithreaded executor
mjcarroll 3db897a
Avoid many small function calls when building executables
mjcarroll 20d3cca
Re-trigger guard condition if buffer has data
mjcarroll cd7aaba
Address reviewer feedback
mjcarroll d8ff831
Trace points
mjcarroll e52b242
Remove tracepoints
mjcarroll 0c3c899
Reducing diff
mjcarroll d2d271b
Reduce diff
mjcarroll 200f733
Uncrustify
mjcarroll 985c1f4
Restore tests
mjcarroll 03471fc
Back to weak_ptr and reduce test time
mjcarroll 5c70cb6
reduce diff and lint
mjcarroll 31d25fc
Restore static single threaded tests that weren't working before
mjcarroll 38c80fd
Merge branch 'mjcarroll/executor_structures' into mjcarroll/rclcpp_wa…
mjcarroll 7a81a8f
Restore more tests
mjcarroll 38387e0
Fix multithreaded test
mjcarroll a2f3977
Fix assert
mjcarroll 1ad6ad6
Fix constructor test
mjcarroll cd56124
Change ready_executables signature back
mjcarroll 3a80b86
Don't enforce removing callback groups before nodes
mjcarroll 6379f0c
Remove the "add_valid_node" API
mjcarroll 4b2e280
Merge branch 'mjcarroll/executor_structures' into mjcarroll/rclcpp_wa…
mjcarroll 855c64d
Only notify if the trigger condition is valid
mjcarroll d9a9206
Only trigger if valid and needed
mjcarroll 43c8f45
Merge branch 'mjcarroll/executor_structures' into mjcarroll/rclcpp_wa…
mjcarroll fcc33e9
Fix spin_some/spin_all implementation
mjcarroll 64cba3b
Restore single threaded executor
mjcarroll 49962fd
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 838d1ae
Merge branch 'rolling' into mjcarroll/executor_structures
mjcarroll 2c3a36c
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll ab3bbf4
Merge branch 'rolling' into mjcarroll/executor_structures
mjcarroll 039d2b1
Merge branch 'mjcarroll/executor_structures' into mjcarroll/rclcpp_wa…
mjcarroll ffdb562
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 80077dd
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll ad5931b
Picking ABI-incompatible executor changes
mjcarroll e3f692b
Merge branch 'mjcarroll/rclcpp_waitset_executor_abi_only' into mjcarr…
mjcarroll acfc0e2
Add PIMPL
mjcarroll aff46a4
Merge branch 'mjcarroll/rclcpp_waitset_executor_abi_only' into mjcarr…
mjcarroll c6612ec
Additional waitset prune
mjcarroll 43d6100
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 670843a
Fix bad merge
mjcarroll e364d89
Expand test timeout
mjcarroll d63d677
Introduce method to clear expired entities from a collection
mjcarroll 8c2ed20
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll c8cc2c5
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 9ed1cc3
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 77d2810
Merge remote-tracking branch 'origin/mjcarroll/rclcpp_waitset_executo…
mjcarroll 9ee5e26
Merge branch 'rolling' into rclcpp_waitset_executor
mjcarroll b9e87d2
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 2a4e932
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 66ba3b0
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 3a51869
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll fbae914
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
clalancette 4fe9f68
Make sure to call remove_expired_entities().
clalancette eea79ad
Prune queued work when callback group is removed
mjcarroll 37550f8
Prune subscriptions from dynamic storage
mjcarroll 760c8fe
Styles fixes.
clalancette af43e2a
Re-trigger guard conditions
mjcarroll cfb7e79
Merge remote-tracking branch 'origin/mjcarroll/rclcpp_waitset_executo…
mjcarroll 4ce1645
Condense to just use watiable.take_data
mjcarroll 662f440
Lint
mjcarroll 02d9cd6
Address reviewer comments (nits)
mjcarroll 8ed094e
Lock mutex when copying
mjcarroll fe4333f
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 1376bd7
Refactors to static single threaded based on reviewers
mjcarroll 6208333
More small refactoring
mjcarroll 6b671aa
Lint
mjcarroll 7349408
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 527d284
Lint
mjcarroll ed12cdb
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 92aff2c
Add ready executable accessors to WaitResult
mjcarroll bf224d6
Make use of accessors from wait_set
mjcarroll ddac821
Fix tests
mjcarroll c984469
Merge branch 'rolling' into mjcarroll/rclcpp_waitset_executor
mjcarroll 1a9784d
Fix more tests
mjcarroll 892f70a
Tidy up single threaded executor implementation
mjcarroll d254d0c
Don't null out timer, rely on call
mjcarroll 62a3f55
Merge remote-tracking branch 'origin/rolling' into mjcarroll/rclcpp_w…
wjwwood 5769359
change how timers are checked from wait result in executors
wjwwood 15f321f
peak -> peek
wjwwood 14c882d
Merge remote-tracking branch 'origin/rolling' into mjcarroll/rclcpp_w…
wjwwood 836946e
fix bug in next_waitable logic
wjwwood 2a88295
fix bug in StaticSTE that broke the add callback groups to executor t…
wjwwood 245bb50
style
wjwwood 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
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.