bondpy.bondpy module

class bondpy.bondpy.Bond(node, topic, bond_id, on_broken=None, on_formed=None)

Bases: object

Connected()
Death()
Heartbeat()
SisterDied()
StartDying()
break_bond()
property connect_timeout
property disconnect_timeout
get_connect_timeout()
get_disconnect_timeout()
get_heartbeat_period()
get_heartbeat_timeout()
property heartbeat_period
property heartbeat_timeout
is_broken()
set_broken_callback(on_broken)
set_connect_timeout(dur)
set_disconnect_timeout(dur)
set_formed_callback(on_formed)
set_heartbeat_period(per)
set_heartbeat_timeout(dur)
shutdown()
start()
wait_until_broken(timeout=None)
wait_until_formed(timeout=None)
class bondpy.bondpy.Timeout(duration, on_timeout=None)

Bases: object

cancel()
left()
reset()
bondpy.bondpy.as_float_duration(d)
bondpy.bondpy.as_ros_duration(d)
bondpy.bondpy.duration_to_sec(duration)