Go to the documentation of this file.00001 '''
00002 Created on 08/08/2011
00003
00004 @author: Daniel Stonier
00005 '''
00006
00007
00008
00009
00010 import sys
00011
00012
00013 import roslib
00014 roslib.load_manifest('rocon_conductor')
00015 import rospy
00016
00017
00018 from .connection_manager import Connections
00019 from .zeroconf import listen_for_app_managers
00020
00021
00022
00023
00024
00025
00026 def main():
00027 rospy.init_node('conductor', log_level=rospy.DEBUG)
00028 rospy.sleep(1.0)
00029 if not listen_for_app_managers():
00030 return 1
00031 connections = Connections()
00032 connections.spin()
00033 return 0
00034
00035 if __name__ == '__main__':
00036 sys.exit(main())