-
Notifications
You must be signed in to change notification settings - Fork 133
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
Support for respawn in ExecuteProcess
#287
Comments
I prefer implementing it in
I think they should. I don't see an use case where that isn't desired. |
+1 for getting this feature, is it planned for anytime soon? |
I think the best assumption is no. Maybe @hidmic or @ivanpauno were planning on doing it, but I'm full booked up until well after ROSCon. |
Thanks for the quick response, I'll see if either of them are planning to do it. It's not critical per se but it would help with occasional crashes we see in navigation2. It would also be nice if we could signal somehow that the node has been respawned to the lifecycle_manager node so that it could re-activate any node that crashes. Not to digress too far, but is there a mechanism for doing something like that? |
Assuming it knows the node's name, it could look for the node to enter the unconfigured state (or whatever the first lifecycle event published is) on the event topic for that node. Launch does the same thing in order to produce launch events for each state transition. |
I'm not planning to work on this in a near future. |
That makes sense. We'll discuss that as a potential way of doing this. It won't matter until the 'respawn' capability is available though. |
has anything changed here? This is a nice to have for us |
@ivanpauno @hidmic |
Thanks @iuhilnehc-ynos ! |
can you make PR against this? so that they can start review. |
I have made a PR for this feature, please review #426 . |
friendly ping, i think that you could close this one. |
Fixed in #426, thanks for the contribution @iuhilnehc-ynos ! |
Is there a plan to port to Foxy? |
i think currently no. this is feature, not bug fix. so it is unlikely to happen, i think. |
I have found the PR from blacksoul000:foxy . I have tried the blacksoul000:foxy fork and it seems to work fine, although I have not yet tested it a lot. |
Hi @mkhansenbot, @wjwwood
Now that respawn is available, was respawning + activating ever discussed again? Would be useful for me. Workarounds are also appreciated |
Feature request
Add support for
respawn
andrespawn_delay
.Feature description
ROS 1 supported those attributes in
node
tag. We could have something similar inExecuteProcess
action. The behavior could be emulated with event handlers, but having an argument in the constructor for that may be easier to use.There are some point of discussions:
ExecuteProcess
constructor.Previous discussion: ros2/ros2_documentation#302 (comment)
The text was updated successfully, but these errors were encountered: