Public Member Functions | |
| def | __init__ |
| def | parse_tree |
| def | refresh |
| def | write_grasp_to_file |
Public Attributes | |
| grasps | |
| xml_path | |
| xml_tree | |
Parses a XML file describing a grasp.
Definition at line 23 of file grasps_parser.py.
| def sr_hand.grasps_parser.GraspParser.__init__ | ( | self | ) |
Definition at line 27 of file grasps_parser.py.
| def sr_hand.grasps_parser.GraspParser.parse_tree | ( | self, | |
xml_filename = "grasps.xml" |
|||
| ) |
parses a given tree, returns a Grasp
Keyword arguments:
xml_filename -- the filename where the grasp is defined
if no filename is provided, then the default
value is "grasps.xml"
Definition at line 33 of file grasps_parser.py.
| def sr_hand.grasps_parser.GraspParser.refresh | ( | self | ) |
Definition at line 88 of file grasps_parser.py.
| def sr_hand.grasps_parser.GraspParser.write_grasp_to_file | ( | self, | |
| grasp, | |||
xml_filename = "" |
|||
| ) |
Definition at line 71 of file grasps_parser.py.
Definition at line 27 of file grasps_parser.py.
Definition at line 27 of file grasps_parser.py.
Definition at line 27 of file grasps_parser.py.