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

rosout keeps respawning even after killall

asked 2014-02-19 05:16:02 -0500

makokal gravatar image

Hi All,

I am working on automating my experiment runs and hence need to kill all nodes periodically. I am using rosnode kill -a at the moment, but the rosout process keeps re-spawning all the time. I have indicated in my launch file that all the nodes have a respawn="false" argument. Does anybody know which this could be happening?

I issue the rosnode kill -a from a python script which I used to automate my runs as

os.system('rosnode kill --all')

Best,

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2014-02-20 11:15:01 -0500

po1 gravatar image

The rosout node is part of roscore. If you really need to shut it down, you will have to kill roscore too.

Hope this helps.

edit flag offensive delete link more

Comments

Already tried that, but the respawn is still persistent.

makokal gravatar image makokal  ( 2014-02-24 00:27:49 -0500 )edit

As I said, `rosout` is part of `roscore`. You can not have the latter without the former. Out of curiosity, how is `rosout` a concern to you?

po1 gravatar image po1  ( 2014-02-24 00:50:14 -0500 )edit
0

answered 2016-09-05 00:14:56 -0500

sunking gravatar image

I had the same problem of a rosout process that keeps respawning. The problem as po1 said is that roscore is running, but finding it takes some effort. 'ps -e' doesn't show it, but if you do 'ps aux' you'll see it (along with a couple of other roscore related processes along for the ride). You need to kill them all

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-02-19 05:16:02 -0500

Seen: 779 times

Last updated: Sep 05 '16