Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 import rospy
00011 import concert_service_link_graph
00012 import concert_service_utilities
00013
00014
00015
00016
00017
00018 if __name__ == '__main__':
00019 rospy.init_node('static_link_graph_service', anonymous=True)
00020
00021
00022 (name, description, priority, uuid) = concert_service_utilities.get_service_info()
00023 filename = rospy.get_param('~filename')
00024
00025 impl_name, impl = concert_service_link_graph.load_linkgraph_from_file(filename)
00026
00027 if not name:
00028 name = impl_name
00029
00030 static_link_graph_service = concert_service_link_graph.StaticLinkGraphHandler(name, description, priority, uuid, impl)
00031 static_link_graph_service.spin()