36 client.wait_for_server()
39 goal = cob_mimic.msg.SetMimicGoal()
40 goal.mimic = sys.argv[1]
43 client.send_goal(goal)
46 client.wait_for_result()
49 return client.get_result()
51 if __name__ ==
'__main__':
55 if len(sys.argv) != 2:
56 print(
"Error: please specify mimic string as input")
59 rospy.init_node(
'mimic_test_node')
61 except rospy.ROSInterruptException:
62 print(
"program interrupted before completion")