00001 #!/usr/bin/env python 00002 00003 import rospy 00004 from robot_pose_ekf.srv import GetStatus, GetStatusRequest 00005 00006 if __name__ == '__main__': 00007 rospy.init_node('spawner', anonymous=True) 00008 print 'looking for node robot_pose_ekf...' 00009 rospy.wait_for_service('robot_pose_ekf/get_status') 00010 00011 s = rospy.ServiceProxy('robot_pose_ekf/get_status', GetStatus) 00012 resp = s.call(GetStatusRequest()) 00013 print resp.status