ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It's quite likely that your node is stuck in an infinite loop somewhere or is never initializing ROS.

Usually, kill sends SIGINT, which can be caught by the process so that it can terminate gracefully. It sounds like your process is stuck somehow, and this signal is caught and ignored.

You can also tell kill to send the SIGKILL signal, which cannot be caught and causes your program to terminate immediately. You can tell kill to send the SIGKILL by name: kill -KILL or by number kill -9

Once you've cleared out any runaway processes, you should go through your code and try to understand why it's getting stuck; otherwise they'll just keep running away from you.