24 from sr_hand.grasps_parser
import GraspParser
26 from sr_robot_msgs.msg
import GraspArray
28 parser = GraspParser()
29 parser.parse_tree(xml_filename=sys.argv[1])
32 for name, g
in parser.grasps.iteritems():
35 ng.set_grasp_point(positions=g.joints_and_positions)
36 grasps.grasps.append(ng)
39 print genpy.message.strify_message(grasps.grasps)