Go to the documentation of this file.00001
00002
00003 import roslib; roslib.load_manifest('camera_pose_calibration')
00004 import rospy
00005 import actionlib
00006 import sys
00007
00008 from interval_intersection.msg import *
00009
00010 if __name__ == '__main__':
00011
00012 args = rospy.myargv(sys.argv)
00013 if len(args) < 2:
00014 rospy.logfatal("Usage: start_interval_intersection ns_1 [ns_2] [ns_3]")
00015 raise
00016
00017
00018 rospy.init_node('start_interval_intersection')
00019 client = actionlib.SimpleActionClient('interval_intersection_config', ConfigAction)
00020 print "Waiting for Server"
00021 client.wait_for_server()
00022 print "Found Server"
00023
00024
00025 goal = ConfigGoal()
00026 goal.topics = [ a+'/settled_interval' for a in args[1:]]
00027 client.send_goal_and_wait(goal)
00028 print "Done sending goal"