Functions | |
def | addLaserCalibration |
def | xmlError |
Variables | |
dictionary | calibration = {'num_lasers': 0, 'lasers': []} |
calibrationGood = True | |
float | cm2meters = 0.01 |
db = None | |
tuple | enabled = db.find('DB/enabled_') |
list | enabled_lasers = [] |
tuple | f = open(yamlFile, 'w') |
int | index = 0 |
tuple | maxIntensities = db.find('DB/maxIntensity_') |
tuple | minIntensities = db.find('DB/minIntensity_') |
int | num_enabled = 0 |
tuple | parser = optparse.OptionParser(usage=usage) |
tuple | this_enabled = int(el.text) |
string | usage |
tuple | value = float(el.text) |
list | xmlFile = args[0] |
list | yamlFile = args[1] |
def gen_calibration.addLaserCalibration | ( | laser_num, | |
key, | |||
val | |||
) |
Definition at line 97 of file gen_calibration.py.
def gen_calibration.xmlError | ( | msg | ) |
Definition at line 76 of file gen_calibration.py.
dictionary gen_calibration::calibration = {'num_lasers': 0, 'lasers': []} |
Definition at line 94 of file gen_calibration.py.
Definition at line 75 of file gen_calibration.py.
float gen_calibration::cm2meters = 0.01 |
Definition at line 95 of file gen_calibration.py.
tuple gen_calibration::db = None |
Definition at line 82 of file gen_calibration.py.
tuple gen_calibration::enabled = db.find('DB/enabled_') |
Definition at line 108 of file gen_calibration.py.
list gen_calibration::enabled_lasers = [] |
Definition at line 107 of file gen_calibration.py.
tuple gen_calibration::f = open(yamlFile, 'w') |
Definition at line 200 of file gen_calibration.py.
tuple gen_calibration::index = 0 |
Definition at line 114 of file gen_calibration.py.
tuple gen_calibration::maxIntensities = db.find('DB/maxIntensity_') |
Definition at line 139 of file gen_calibration.py.
tuple gen_calibration::minIntensities = db.find('DB/minIntensity_') |
Definition at line 127 of file gen_calibration.py.
int gen_calibration::num_enabled = 0 |
Definition at line 106 of file gen_calibration.py.
tuple gen_calibration::parser = optparse.OptionParser(usage=usage) |
Definition at line 59 of file gen_calibration.py.
tuple gen_calibration::this_enabled = int(el.text) |
Definition at line 117 of file gen_calibration.py.
string gen_calibration::usage |
00001 """usage: %prog infile.xml [outfile.yaml] 00002 00003 Default output file is input file with .yaml suffix."""
Definition at line 56 of file gen_calibration.py.
tuple gen_calibration::value = float(el.text) |
Definition at line 133 of file gen_calibration.py.
list gen_calibration::xmlFile = args[0] |
Definition at line 66 of file gen_calibration.py.
list gen_calibration::yamlFile = args[1] |
Definition at line 68 of file gen_calibration.py.