Show EOL distros:
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Author: Stuart Glaser
- License: BSD
- Repository: ros-pkg
- Source: svn https://code.ros.org/svn/ros-pkg/stacks/common/tags/common-1.4.3
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Author: Stuart Glaser
- License: BSD
- Source: hg https://kforge.ros.org/common/bondcore (branch: default)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Author: Stuart Glaser
- License: BSD
- Source: hg https://kforge.ros.org/common/bondcore (branch: default)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer: Esteve Fernandez <esteve AT osrfoundation DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: master)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Esteve Fernandez <esteve AT osrfoundation DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: master)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: groovy-devel)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Mikael Arguedas <mikael AT osrfoundation DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: groovy-devel)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: kinetic-devel)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: kinetic-devel)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: kinetic-devel)
Package Summary
Python implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: noetic-devel)
Contents
Overview
bondpy is an implementation of bond in Python. To use bondpy, please see the example below as well as the API documentation.
Example usage
Process A:
   1 from bondpy import bondpy
   2 
   3 id = generate_unique_id()
   4 # Sends id to B using an action or a service
   5 bond = bondpy.Bond("example_bond_topic", id)
   6 bond.start()
   7 if not bond.wait_until_formed(rospy.Duration(1.0)):
   8     raise Exception('Bond could not be formed')
   9 # ... do things with B ... 
  10 bond.wait_until_broken()
  11 print "B has broken the bond"
Process B:
Report a Bug
Use GitHub to report bugs or submit feature requests. [View active issues]
 
