Ask Your Question
1

Diagnostic aggregator not resetting between runs

asked 2011-11-17 18:47:41 -0500

I'm having a problem that the diagnostic aggregator contains analyzers from a previous run. The situation is this:

  1. Start roscore
  2. Start an application, including diagnostic aggreggator, using roslaunch
  3. Stop the application and launch another one with a new yaml-file
  4. The aggregator message now contains analyzers from both the new and the old application (the old ones are stale now of cource).

The problem arises when having roscore running and starting different applications with roslaunch (so skipping step one would fix the problem). The reason I start roscore is that I have a GUI that can start (and close down) different applications. This GUI is a rosnode, so I have to have roscore running while starting and stopping other applications.

Is there a way of resetting the aggregator so it just listens to new messages (the ones specified specified in the last yaml-file loaded)?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-12-06 23:22:23 -0500

I found out how to solve this problem. By deleting "diagnostic_aggregator" from the parameter server when closing an application, only the the nodes specified in the new yaml-file will show when starting a new application.

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

Stats

Asked: 2011-11-17 18:47:41 -0500

Seen: 136 times

Last updated: Dec 06 '11