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