-
Notifications
You must be signed in to change notification settings - Fork 418
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
Timers being executed more than once by the multithread executor #1374
Comments
I don't catch up with you the following sequence, could you enlighten me a bit?
with above sequence how rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp Lines 78 to 98 in 0e7fed9
scheduled_timers_ rclcpp/rclcpp/src/rclcpp/executors/multi_threaded_executor.cpp Lines 106 to 109 in 0e7fed9
I think that it should be the following sequence,
|
Yeah, I was writing the temporal sequence in the code and I think you're right.
The sequence you comment can make the timer miss a trigger, but cannot produce double execution AFAIS. I have to double check my reasoning here. |
Wrong repository 😕, moving to |
Closing as the description of the issue is not accurate, #1487 seems to be the real issue (?). |
Bug report
Required Info:
Steps to reproduce issue
The test here sometimes fails.
e.g.: https://ci.ros2.org/view/nightly/job/nightly_osx_release/1712/testReport/projectroot/test/test_multi_threaded_executor/
Additional information
From comment here, a timer can be triggered twice in a row when using the
MultiThreadedExecutor
:Related PRs:
The text was updated successfully, but these errors were encountered: