22 import cob_grasp_generation.msg
26 client.wait_for_server()
28 goal = cob_grasp_generation.msg.GenerateGraspsGoal()
33 goal.object_name=
"cokeplasticsmall" 35 goal.gripper_type =
"sdh" 41 client.send_goal(goal)
42 client.wait_for_result()
43 return client.get_result()
45 if __name__ ==
'__main__':
47 rospy.init_node(
'generate_grasps_client')
51 except rospy.ROSInterruptException:
52 print(
"program interrupted before completion")
def generate_grasps_client()