face_recognition_starter.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 import sys
00004 import rospy
00005 import actionlib
00006 from face_recognition.msg import FaceRecognitionAction, FaceRecognitionGoal
00007 
00008 
00009 if __name__ == '__main__':
00010     rospy.init_node('face_recognition_starter')
00011     c = actionlib.ActionClient('face_recognition', FaceRecognitionAction)
00012     c.wait_for_server()
00013     g = FaceRecognitionGoal()
00014     g.order_id = 1
00015     g.order_argument = "none"
00016     c.send_goal(g)
00017     sys.exit(0)


jsk_pr2_startup
Author(s):
autogenerated on Wed Sep 16 2015 10:32:17