-
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
it takes too long to terminate when using component_container_isolated #2083
Comments
Is this a problem with the container or Nav2? Do you have this issue if you use different components in the |
I actually believe this may be an issue with Since it is related to something I'm working on, I'll see if I can get a cleaner reproduction. |
I also had the same problem when using non-Nav2 component. I am grateful that you are concerned about this matter. |
I now have a minimal reproduction example using a component with a single timer and publication (https://github.com/safe-ros/reference_system/blob/437dd76e4e61d9cb446bd9a55955d12a808be8ba/src/publisher_nodes.cpp#L22-L27) The trace with
Where
|
@iuhilnehc-ynos can you take a look at this, if you have time? (CC: @Barry-Xu-2018 ) |
@fujitatomoya We will enter Chinese New Year holiday from tomorrow. So we will continue to investigate it after holiday. |
With a bit more debugging, I believe I have isolated it to a difference in the way that the deferred_signal_handler works between the isolated and non-isolated component containers. In the isolated case, we end up blocking on a A trace with more points added: https://gist.github.com/mjcarroll/a83c9b8428d198a2a7b753b19446f593 |
Bug report
Required Info:
Steps to reproduce issue
I set
use_composition
to "True" to run the navigation stack nodes in one process and it worked.after that, I typed
ctrl+c
to exit the process. but it takes too long to terminate(more than 10 seconds), and it does not terminate properly sometimes.Below is part of the launch file I ran.
Below is the log when component container ends. (actually I use two container node, one is for navigation stack, and the other is for my custom node)
On the other hand, when using
component_container
instead ofcomponent_container_isolated
, it is almost finished immediately.Is it normal to take a long time to end when using
component_container_isolated
?The text was updated successfully, but these errors were encountered: