Ask Your Question
0

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 imagemakokal ( 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 imagepo1 ( 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 504 times

Last updated: Sep 05 '16