Have the EventsExecutor use more common code #2570
Merged
Conversation
alsora
commented
Jun 29, 2024
| this->add_notify_waitable_to_collection(current_entities_collection_->waitables); | ||
|
|
||
| notify_waitable_->add_guard_condition(interrupt_guard_condition_); | ||
| notify_waitable_->add_guard_condition(shutdown_guard_condition_); |
Collaborator
Author
There was a problem hiding this comment.
these 3 lines above are done in the base class
alsora
commented
Jun 29, 2024
| notify_waitable_->add_guard_condition(shutdown_guard_condition_); | ||
|
|
||
| notify_waitable_->set_on_ready_callback( | ||
| this->create_waitable_callback(notify_waitable_.get())); |
Collaborator
Author
There was a problem hiding this comment.
this was likely the result of a bad merge, as the same thing is then done again (and correctly) in the line below
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
423f712 to
97c24e8
Compare
Signed-off-by: Alberto Soragna <alberto.soragna@gmail.com>
mjcarroll
approved these changes
Jul 12, 2024
Member
mjcarroll
left a comment
There was a problem hiding this comment.
Always good to see code disappear!
Contributor
Collaborator
Author
|
Mmm I see this in the logs trying again: |
Collaborator
Author
Collaborator
Author
Member
|
CI looks like there were some warnings in message filters, unrelated to the changes here. Edit: they were addressed by ros-perception/point_cloud_transport#94 |
mjcarroll
approved these changes
Jul 22, 2024
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The
EventsExecutorwas creating its own entities collector, collection ,etc.Now that these are part of the executor base class, the events executor should just use them.
This PR should not do any functional change, but only reorganizing the code and reducing duplications.