ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

yeasir's profile - activity

2016-08-24 06:09:57 -0500 received badge  Taxonomist
2012-08-18 02:10:53 -0500 received badge  Popular Question (source)
2012-08-18 02:10:53 -0500 received badge  Notable Question (source)
2012-08-18 02:10:53 -0500 received badge  Famous Question (source)
2011-06-17 12:13:48 -0500 marked best answer Are there any other signal interrupts with roscpp besides the default ctrl+c sigint handler

There can be only one handler for any given signal at a time. ROS does install a handler for SIGINT. It is not possible to catch and handle SIGKILL.

2011-06-16 09:28:57 -0500 received badge  Nice Question (source)
2011-04-10 22:54:00 -0500 received badge  Student (source)
2011-04-08 07:39:55 -0500 asked a question Are there any other signal interrupts with roscpp besides the default ctrl+c sigint handler

I have a ROS server that uses TCP/IP to communicate data. While the server is listening for connections, the program is in somewhat of a sleep mode and so I cannot use the ros::ok command to check if the process has been killed. Are there are any other signal interrupts that come with roscpp that can deal with this?

Thanks.