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

Bond vs Software_Watchdog? [ROS2]

asked 2021-06-11 11:55:16 -0500

shonigmann gravatar image

From what I can gather, bond (ros2 implementation) and the Safety Working Group's software_watchdog package have similar functionality, in that they allow nodes to "check in" on each other and ensure the nodes are operating as expected by publishing a heartbeat periodically.

I am wondering if someone more familiar with these packages could offer some insight on how they might be different or when you might want to use one vs. the other?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-06-11 13:36:59 -0500

Almost certainly software_watchdog. We use bond in Nav2 because we set that up before software_watchdog or the similar DDS capabilities were exposed in ROS2. I'd be happy to move over to software_watchdog if someone had some cycles to convert us over!

edit flag offensive delete link more

Comments

1

We use bond in Nav2 because we set that up before software_watchdog or the similar DDS capabilities were exposed in ROS2

to make it a bit more explicit: software_watchdog can make use of the liveness and heartbeat detection infrastructure supported by DDS. That was not available when bond was created (which is a ROS 1 package, and the ROS 2 version is an almost straight port).

I believe that's what @stevemacenski is implicitly referring to.

gvdhoorn gravatar image gvdhoorn  ( 2021-06-12 04:45:04 -0500 )edit

That helps clarify, thanks to both of you

shonigmann gravatar image shonigmann  ( 2021-06-12 12:32:24 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2021-06-11 11:55:16 -0500

Seen: 497 times

Last updated: Jun 11 '21