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