-
Notifications
You must be signed in to change notification settings - Fork 420
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
Have the EventsExecutor use more common code #2570
Conversation
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_); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these 3 lines above are done in the base class
notify_waitable_->add_guard_condition(shutdown_guard_condition_); | ||
|
||
notify_waitable_->set_on_ready_callback( | ||
this->create_waitable_callback(notify_waitable_.get())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
Signed-off-by: Alberto Soragna <[email protected]>
423f712
to
97c24e8
Compare
Signed-off-by: Alberto Soragna <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always good to see code disappear!
Mmm I see this in the logs
trying again: |
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 |
The
EventsExecutor
was 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.