Parses a XML file describing a grasp.
Definition at line 24 of file grasps_parser.py.
def sr_hand.grasps_parser.GraspParser.__init__ |
( |
|
self | ) |
|
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 36 of file grasps_parser.py.
def sr_hand.grasps_parser.GraspParser.refresh |
( |
|
self | ) |
|
def sr_hand.grasps_parser.GraspParser.write_grasp_to_file |
( |
|
self, |
|
|
|
grasp, |
|
|
|
xml_filename = "" |
|
) |
| |
sr_hand.grasps_parser.GraspParser.grasps |
sr_hand.grasps_parser.GraspParser.xml_path |
sr_hand.grasps_parser.GraspParser.xml_tree |
The documentation for this class was generated from the following file: