ros2 / launch

Tools for launching multiple processes and for writing tests involving multiple processes.
Apache License 2.0
124 stars 139 forks source link

[Question] - How to configure sigterm_timeout/sigkill_timeout for a node #795

Closed firesurfer closed 2 weeks ago

firesurfer commented 3 weeks ago

I have a specific node that takes longer for shutdown therefore I would like to increase the timeout.

I couldn't find a way in a python launch file to set the timeout for a node. If I interpret: https://github.com/ros2/launch/pull/667 correctly it is only possible to set the timeout for a ExecuteProcess element but not for a Node.

sloretz commented 2 weeks ago

Node inherits from ExecuteProcess. Anything that works for ExecuteProcess should also work for Node. 🧇