22 import cob_grasp_generation.msg
26 client.wait_for_server()
28 goal = cob_grasp_generation.msg.QueryGraspsGoal()
31 goal.object_name=
"pringles" 32 goal.gripper_type =
"sdhx" 37 client.send_goal(goal)
38 client.wait_for_result()
39 return client.get_result()
41 if __name__ ==
'__main__':
43 rospy.init_node(
'query_grasps_client')
48 except rospy.ROSInterruptException:
49 print(
"program interrupted before completion")
def query_grasps_client()