Functions | Variables
stats Namespace Reference

Functions

def delta_theta
def delta_xy
def pprint

Variables

list args = []
 efq = tft.euler_from_quaternion
tuple f = open( fname, 'r' )
string fname = 'search_aware_home/woot_150_'
tuple glob_r = glob.glob( search_fname )
list io = [ r for r in res if r[0] == i ]
tuple io_templated = template.x%tuple( args )
tuple loc = (i + j)
list loc_name = ahe.pts[loc]
tuple loc_pos = np.array(ahe.pts[loc][1])
list obj_name = ahe.tdb[j]
 obj_num = j
tuple pos_readings = sum([ True for p in summary if p.read.rssi != -1 and p.read.tagID == obj_name ])
tuple r = f.readlines()
list res = []
list rpy = r[-1]
string search_fname = 'search_aware_home/woot_150_'
tuple search_pos
tuple search_pos_diff = np.linalg.norm( search_pos - loc_pos )
tuple search_theta
tuple search_theta_diff = mu.standard_rad( search_theta - search_true_theta )
tuple search_true_theta
string servo_fname = 'search_aware_home/woot_150_'
tuple servo_pos = np.array(json.loads( r[-3][tion:] ))
tuple servo_pos_diff = np.linalg.norm( servo_pos - loc_pos )
tuple servo_theta = json.loads( r[-1][rpy:] )
tuple servo_theta_diff = mu.standard_rad( servo_theta - servo_true_theta )
tuple servo_true_theta
 skip = False
tuple summary = pkl.load( f )
list tion = r[-3]
tuple tname = obj_name.replace( ' ', '' )
tuple tot_readings = len( summary )
 trial_num = i
tuple y = yaml.load( f )

Function Documentation

def stats.delta_theta (   r)

Definition at line 169 of file stats.py.

def stats.delta_xy (   r)

Definition at line 163 of file stats.py.

def stats.pprint (   r)

Definition at line 142 of file stats.py.


Variable Documentation

Definition at line 184 of file stats.py.

Definition at line 84 of file stats.py.

tuple stats::f = open( fname, 'r' )

Definition at line 46 of file stats.py.

string stats::fname = 'search_aware_home/woot_150_'

Definition at line 45 of file stats.py.

tuple stats::glob_r = glob.glob( search_fname )

Definition at line 58 of file stats.py.

list stats::io = [ r for r in res if r[0] == i ]

Definition at line 177 of file stats.py.

Definition at line 205 of file stats.py.

tuple stats::loc = (i + j)

Definition at line 39 of file stats.py.

Definition at line 40 of file stats.py.

Definition at line 41 of file stats.py.

Definition at line 34 of file stats.py.

Definition at line 33 of file stats.py.

tuple stats::pos_readings = sum([ True for p in summary if p.read.rssi != -1 and p.read.tagID == obj_name ])

Definition at line 50 of file stats.py.

tuple stats::r = f.readlines()

Definition at line 106 of file stats.py.

Definition at line 27 of file stats.py.

list stats::rpy = r[-1]

Definition at line 117 of file stats.py.

string stats::search_fname = 'search_aware_home/woot_150_'

Definition at line 57 of file stats.py.

Initial value:
00001 np.array([ y['pose']['position']['x'],
00002                                     y['pose']['position']['y'],
00003                                     y['pose']['position']['z'] ])

Definition at line 90 of file stats.py.

Definition at line 97 of file stats.py.

Initial value:
00001 efq( [ y['pose']['orientation']['x'],
00002                                   y['pose']['orientation']['y'],
00003                                   y['pose']['orientation']['z'],
00004                                   y['pose']['orientation']['w'] ])

Definition at line 85 of file stats.py.

Definition at line 96 of file stats.py.

Initial value:
00001 np.arctan2( loc_pos[1] - search_pos[1], # y / x
00002                                             loc_pos[0] - search_pos[0] )

Definition at line 94 of file stats.py.

string stats::servo_fname = 'search_aware_home/woot_150_'

Definition at line 67 of file stats.py.

tuple stats::servo_pos = np.array(json.loads( r[-3][tion:] ))

Definition at line 121 of file stats.py.

Definition at line 126 of file stats.py.

tuple stats::servo_theta = json.loads( r[-1][rpy:] )

Definition at line 118 of file stats.py.

Definition at line 125 of file stats.py.

Initial value:
00001 np.arctan2( loc_pos[1] - servo_pos[1], # y / x
00002                                            loc_pos[0] - servo_pos[0] )

Definition at line 123 of file stats.py.

Definition at line 31 of file stats.py.

Definition at line 47 of file stats.py.

Definition at line 120 of file stats.py.

tuple stats::tname = obj_name.replace( ' ', '' )

Definition at line 35 of file stats.py.

Definition at line 51 of file stats.py.

Definition at line 37 of file stats.py.

tuple stats::y = yaml.load( f )

Definition at line 80 of file stats.py.



rfid_datacapture
Author(s): Travis Deyle
autogenerated on Wed Nov 27 2013 12:11:16