bond

Summary

bond
Version:

1.7.16

Description:

A bond allows two processes, A and B, to know when the other has terminated, either cleanly or by crashing. The bond remains connected until it is either broken explicitly or until a heartbeat times out.

Maintainers:
  • Esteve Fernandez <esteve AT osrfoundation DOT org>
Licenses:
  • BSD
Urls:
Authors:
  • Stuart Glaser
BuildDepends:
BuildtoolDepends:
 
BuildExportDepends:
 
ExecDepends:
Exports:
  • <architecture_independent/>

Types

Message types

bond/Constants
Constant:
  • DEAD_PUBLISH_PERIOD (float32):0.05
  • DEFAULT_CONNECT_TIMEOUT (float32):10.0
  • DEFAULT_HEARTBEAT_TIMEOUT (float32):4.0
  • DEFAULT_DISCONNECT_TIMEOUT (float32):2.0
  • DEFAULT_HEARTBEAT_PERIOD (float32):1.0
  • DISABLE_HEARTBEAT_TIMEOUT_PARAM (string):/bond_disable_heartbeat_timeout
float32 DEAD_PUBLISH_PERIOD = 0.05
float32 DEFAULT_CONNECT_TIMEOUT = 10.0
float32 DEFAULT_HEARTBEAT_TIMEOUT = 4.0
float32 DEFAULT_DISCONNECT_TIMEOUT = 2.0
float32 DEFAULT_HEARTBEAT_PERIOD = 1.0

string DISABLE_HEARTBEAT_TIMEOUT_PARAM=/bond_disable_heartbeat_timeout
bond/Status
Field:
  • header (std_msgs/Header) –
  • id (string) –
  • instance_id (string) –
  • active (bool) –
  • heartbeat_timeout (float32) –
  • heartbeat_period (float32) –
Header header
string id  # ID of the bond
string instance_id  # Unique ID for an individual in a bond
bool active

# Including the timeouts for the bond makes it easier to debug mis-matches
# between the two sides.
float32 heartbeat_timeout
float32 heartbeat_period