Add support for timers on reset callback#1979
Conversation
fujitatomoya
left a comment
There was a problem hiding this comment.
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
fujitatomoya
left a comment
There was a problem hiding this comment.
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 <mpasserino@irobot.com>
Signed-off-by: Mauro Passerino <mpasserino@irobot.com>
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 <alberto.soragna@gmail.com>
|
Hi, any update on this? |
Signed-off-by: Mauro Passerino <mpasserino@irobot.com> Co-authored-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Mauro Passerino <mpasserino@irobot.com> Co-authored-by: Alberto Soragna <alberto.soragna@gmail.com>
Signed-off-by: Mauro Passerino <mpasserino@irobot.com> Co-authored-by: Alberto Soragna <alberto.soragna@gmail.com>
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