-
Notifications
You must be signed in to change notification settings - Fork 433
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
Add support for timers on reset callback #1979
Add support for timers on reset callback #1979
Conversation
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.
overall lgtm, a few comments.
Any updates here? |
052aa82
to
0673586
Compare
The CI fails because ros2/rcl#995 is needed. |
The main issue here is the Windows CI that is failing. |
When I looked at the Win CI output it seemed that something related to the parameters interface in tf2_ros was failing. This seems to be kind of unrelated. Can we maybe try to tun the CI against some documentation PR to see if this is an issue with the current master of tf2? |
0673586
to
d5f1949
Compare
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.
test would be ideal, lgtm.
There seems to be another Windows build issue:
|
Also seems unrelated imo... |
The Windows CI still seems to have Network issues: Relevant Jenkins Traceback
|
Yes, I will run it again in some hours, after checking with the infra team if there are any windows CI issues. |
it seems we are still having problems with the windows agents ... |
The run still fails :/, but it at least failed relatively early with an infrastructure related error. |
Finally 🎉 |
@fujitatomoya @ivanpauno @hidmic it looks like all comments have been addressed; can you have a final look before we merge this PR and its related rcl PR? |
I am good to go with this, but requesting another review from maintainers. CC: @ivanpauno @hidmic @wjwwood be advised that this must be merged with ros2/rcl#995 |
Signed-off-by: Mauro Passerino <[email protected]>
Signed-off-by: Mauro Passerino <[email protected]>
d5f1949
to
43dee48
Compare
Rebased after #2059 got merged |
Ping; it looks like the rcl PR (ros2/rcl#995) has been approved, can we get an additional review here? |
this protects against the callback being modified while we are resetting the timer Signed-off-by: Alberto Soragna <[email protected]>
Hi, any update on this? |
Signed-off-by: Mauro Passerino <[email protected]> Co-authored-by: Alberto Soragna <[email protected]>
Signed-off-by: Mauro Passerino <[email protected]> Co-authored-by: Alberto Soragna <[email protected]>
Signed-off-by: Mauro Passerino <[email protected]> Co-authored-by: Alberto Soragna <[email protected]>
Based on ros2/rcl#995, this PR adds support for the "on reset" callback for timers.
The issue which originated this need, is to wake up an events based executor when a timer is reset (which could also be caused by a time jump).
@alsora