Functions | |
def | find_atomic_elem_span |
def | find_attr_span |
def | find_split_elem_span |
def | find_split_internals |
def | update_joint |
def | update_transmission |
def pr2_calibration_propagation::update_joint::find_atomic_elem_span | ( | str_in, | ||
node_name, | ||||
start = 0 , |
||||
end = None | ||||
) |
Find the span of an element that is not 'split', like <elem atttr1="" attr2="" />, and notr <elem></elem>
Definition at line 148 of file update_joint.py.
def pr2_calibration_propagation::update_joint::find_attr_span | ( | str_in, | ||
name, | ||||
start = 0 , |
||||
end = None | ||||
) |
Find the span of an attribute in an element. The resulting start to (end+1) will display everything within the quotations.
Definition at line 120 of file update_joint.py.
def pr2_calibration_propagation::update_joint::find_split_elem_span | ( | str_in, | ||
elem_name, | ||||
attr_name = None , |
||||
start = 0 , |
||||
end = None | ||||
) |
Find the span of a xml node. This function assumes that it doesn't use an '/>'. Thus it should look like <elem> </elem>, and not <elem/>.
Definition at line 171 of file update_joint.py.
def pr2_calibration_propagation::update_joint::find_split_internals | ( | str_in, | ||
start = 0 , |
||||
end = None | ||||
) |
Find everything enclosed by a split element tag
Definition at line 97 of file update_joint.py.
def pr2_calibration_propagation::update_joint::update_joint | ( | str_in, | ||
name, | ||||
xyz = None , |
||||
rpy = None , |
||||
ref_shift = None | ||||
) |
Updates the joint's reference position and rpy terms for the input xml string
Definition at line 40 of file update_joint.py.
def pr2_calibration_propagation::update_joint::update_transmission | ( | str_in, | ||
name, | ||||
reduction_scale | ||||
) |
Updates a transmission new_reduction = original_recuction * reduction_scale
Definition at line 73 of file update_joint.py.