Skip to content
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

Change SIGINT timeout without modifying nodeprocess.py? #2356

Open
michael-createc opened this issue Oct 13, 2023 · 0 comments
Open

Change SIGINT timeout without modifying nodeprocess.py? #2356

michael-createc opened this issue Oct 13, 2023 · 0 comments

Comments

@michael-createc
Copy link

I have a node that has quite a long clearup process to perform on exit, involving file IO etc., that takes a minute or so. However, at the moment, the only way I can work out to allow it to do this without timing out is to modify DEFAULT_SIGINT_TIMEOUT in my ROS install's nodeprocess.py file (https://github.com/ros/ros_comm/blob/melodic-devel/tools/roslaunch/src/roslaunch/nodeprocess.py). This is not ideal for many reasons (easy for someone else using the node to miss, involves changing the timeout for all nodes on the system, etc.).

Is there a better way to do this, per-node, e.g. in the launch file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant