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

Is there something like a observer-node?

asked 2017-10-20 04:08:55 -0600

Till Chima gravatar image

Hello community,

I am having the problem that once in a while some of my nodes randomly die due to hardware issues (overheating, miserable cable connection, problems in usb_read/write errors, etc.) that can't be faced by me.

I would like to know if I can create some sort of observer-node, that listens to dying nodes and can thus initiate some recovery behavior. This is pretty important in my case, as sometimes my camera-node dies which leads to the situation, that the robot doesn't have any clue where it's located at.

If I had this observing node I could most likely manage the situation properly, without having to reboot everything.

I am really looking forward to your replies.

Best regards, Till

edit retag flag offensive close merge delete

Comments

Do you just want to restart the node? In this case, check launch-files and especially the respawn-parameter.

NEngelhard gravatar image NEngelhard  ( 2017-10-20 06:18:08 -0600 )edit

The respawn flag won't work, as some specific actions have to be triggered before the node can restart.

Till Chima gravatar image Till Chima  ( 2017-10-20 06:48:26 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-10-20 12:09:32 -0600

NEngelhard gravatar image

You could implement a central node that uses bonds to get a notification if one of the other nodes dies.

edit flag offensive delete link more

Comments

Perfect! Thanks a lot, that was exactly what I was hoping to find!

Till Chima gravatar image Till Chima  ( 2017-10-20 12:33:40 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2017-10-20 04:08:55 -0600

Seen: 233 times

Last updated: Oct 20 '17