Functions | Variables
gen_calibration Namespace Reference

Functions

def addLaserCalibration (laser_num, key, val)
 
def xmlError (msg)
 

Variables

 args
 
dictionary calibration = {'num_lasers': 0, 'lasers': [], 'distance_resolution': 0.2}
 
bool calibrationGood = True
 
float cm2meters = 0.01
 
 db = None
 
 distLSB = db.find('DB/distLSB_')
 
 enabled = db.find('DB/enabled_')
 
list enabled_lasers = []
 
 ext
 
 f = open(yamlFile, 'w')
 
int index = 0
 
 maxIntensities = db.find('DB/maxIntensity_')
 
 minIntensities = db.find('DB/minIntensity_')
 
int num_enabled = 0
 
 options
 
 parser = optparse.OptionParser(usage=usage)
 
int this_enabled = 0
 
string usage
 
 value = int(el.text)
 
 xmlFile = args[0]
 
 yamlFile = args[1]
 

Function Documentation

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.

Variable Documentation

gen_calibration.args

Definition at line 60 of file gen_calibration.py.

dictionary gen_calibration.calibration = {'num_lasers': 0, 'lasers': [], 'distance_resolution': 0.2}

Definition at line 94 of file gen_calibration.py.

bool gen_calibration.calibrationGood = True

Definition at line 75 of file gen_calibration.py.

float gen_calibration.cm2meters = 0.01

Definition at line 95 of file gen_calibration.py.

gen_calibration.db = None

Definition at line 82 of file gen_calibration.py.

gen_calibration.distLSB = db.find('DB/distLSB_')

Definition at line 127 of file gen_calibration.py.

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.

gen_calibration.ext

Definition at line 70 of file gen_calibration.py.

gen_calibration.f = open(yamlFile, 'w')

Definition at line 205 of file gen_calibration.py.

int gen_calibration.index = 0

Definition at line 114 of file gen_calibration.py.

gen_calibration.maxIntensities = db.find('DB/maxIntensity_')

Definition at line 144 of file gen_calibration.py.

gen_calibration.minIntensities = db.find('DB/minIntensity_')

Definition at line 132 of file gen_calibration.py.

int gen_calibration.num_enabled = 0

Definition at line 106 of file gen_calibration.py.

gen_calibration.options

Definition at line 60 of file gen_calibration.py.

gen_calibration.parser = optparse.OptionParser(usage=usage)

Definition at line 59 of file gen_calibration.py.

int gen_calibration.this_enabled = 0

Definition at line 117 of file gen_calibration.py.

string gen_calibration.usage
Initial value:
1 = """usage: %prog infile.xml [outfile.yaml]
2 
3  Default output file is input file with .yaml suffix."""

Definition at line 56 of file gen_calibration.py.

gen_calibration.value = int(el.text)

Definition at line 138 of file gen_calibration.py.

gen_calibration.xmlFile = args[0]

Definition at line 66 of file gen_calibration.py.

gen_calibration.yamlFile = args[1]

Definition at line 68 of file gen_calibration.py.



velodyne_pointcloud
Author(s): Jack O'Quin, Piyush Khandelwal, Jesse Vera, Sebastian Pütz
autogenerated on Sun Sep 6 2020 03:25:30