Functions | Variables
time_volt Namespace Reference

Functions

def main

Variables

tuple abcd = rosparam.get_param("/csv_proc/abcd")
tuple cost_min = min(cost_values_i)
tuple cost_min_index = cost_values_i.index(cost_min)
list cost_values = []
list cost_values_i = []
tuple csvreader = csv.reader(csvfile, delimiter=' ', quotechar='|')
 Opening the csv file and getting the values for time and voltage.
tuple filename = rosparam.get_param("/csv_proc/file_name")
 Parameters for the Python script.
tuple mode = rosparam.get_param("/csv_proc/mode")
tuple new_x = values_filt*cos(theta)
tuple new_y = values_filt*sin(theta)
 new_y_temp = new_y
list off_values = []
int off_y = 6000
list off_y_values_i = []
tuple p1 = np.poly1d(z1)
tuple p2 = np.poly1d(z2)
tuple p3 = np.poly1d(z3)
tuple poly_vals = np.polyval(abcd, values_filt)
 Polynomial Evaluation for the filtered signal and the function from the non-moving case.
tuple robot_name = rosparam.get_param("/csv_proc/robot_name")
list row = row[0]
tuple secArray = np.asarray(time_values)
 Plotting graphics for the Voltage vs Time.
tuple ss = lambday1,y2:((y1-y2)**2)
tuple ss1 = ss(time_values,new_y_temp)
float theta = 0.2
list theta_values = []
list time_values = time_values[::-1]
tuple values_filt = sg.filter(voltArray)
 Savitzky Golay Filter Applied to the Battery Voltage.
tuple volt_v = (float)
tuple voltArray = np.asarray(volt_values)
tuple xp = np.linspace(49000, 43000, 100)
tuple yaml_file = open("voltage_filter.yaml", "w")
dictionary yl = {}
tuple z1 = np.polyfit(voltArray, secArray,1)
 z1_res = time_values-z1_val
tuple z1_val = np.polyval(z1, volt_values)
 Residuals Analysis.
tuple z2 = np.polyfit(voltArray, secArray,2)
 z2_res = time_values-z2_val
tuple z2_val = np.polyval(z2, volt_values)
tuple z3 = np.polyfit(voltArray, secArray,3)
list z3_l = []
 z3_res = time_values-z3_val
tuple z3_val = np.polyval(z3, volt_values)

Function Documentation

def time_volt.main (   argv)

Definition at line 80 of file time_volt.py.


Variable Documentation

time_volt::abcd = rosparam.get_param("/csv_proc/abcd")

Definition at line 99 of file time_volt.py.

Definition at line 356 of file time_volt.py.

tuple time_volt::cost_min_index = cost_values_i.index(cost_min)

Definition at line 357 of file time_volt.py.

Definition at line 327 of file time_volt.py.

Definition at line 338 of file time_volt.py.

tuple time_volt::csvreader = csv.reader(csvfile, delimiter=' ', quotechar='|')

Opening the csv file and getting the values for time and voltage.

Definition at line 122 of file time_volt.py.

time_volt::filename = rosparam.get_param("/csv_proc/file_name")

Parameters for the Python script.

Definition at line 92 of file time_volt.py.

tuple time_volt::mode = rosparam.get_param("/csv_proc/mode")

Definition at line 94 of file time_volt.py.

Definition at line 332 of file time_volt.py.

Definition at line 333 of file time_volt.py.

Definition at line 343 of file time_volt.py.

Definition at line 328 of file time_volt.py.

list time_volt::off_y = 6000

Definition at line 336 of file time_volt.py.

Definition at line 339 of file time_volt.py.

tuple time_volt::p1 = np.poly1d(z1)

Definition at line 157 of file time_volt.py.

tuple time_volt::p2 = np.poly1d(z2)

Definition at line 158 of file time_volt.py.

tuple time_volt::p3 = np.poly1d(z3)

Definition at line 159 of file time_volt.py.

tuple time_volt::poly_vals = np.polyval(abcd, values_filt)

Polynomial Evaluation for the filtered signal and the function from the non-moving case.

Definition at line 301 of file time_volt.py.

time_volt::robot_name = rosparam.get_param("/csv_proc/robot_name")

Definition at line 93 of file time_volt.py.

list time_volt::row = row[0]

Definition at line 124 of file time_volt.py.

tuple time_volt::secArray = np.asarray(time_values)

Plotting graphics for the Voltage vs Time.

Filtered fits.

Definition at line 145 of file time_volt.py.

tuple time_volt::ss = lambday1,y2:((y1-y2)**2)

Definition at line 319 of file time_volt.py.

Definition at line 346 of file time_volt.py.

list time_volt::theta = 0.2

Definition at line 325 of file time_volt.py.

Definition at line 326 of file time_volt.py.

Definition at line 131 of file time_volt.py.

tuple time_volt::values_filt = sg.filter(voltArray)

Savitzky Golay Filter Applied to the Battery Voltage.

Definition at line 202 of file time_volt.py.

tuple time_volt::volt_v = (float)

Definition at line 125 of file time_volt.py.

tuple time_volt::voltArray = np.asarray(volt_values)

Definition at line 146 of file time_volt.py.

tuple time_volt::xp = np.linspace(49000, 43000, 100)

Definition at line 154 of file time_volt.py.

tuple time_volt::yaml_file = open("voltage_filter.yaml", "w")

Definition at line 95 of file time_volt.py.

dictionary time_volt::yl = {}

Definition at line 96 of file time_volt.py.

tuple time_volt::z1 = np.polyfit(voltArray, secArray,1)

Definition at line 149 of file time_volt.py.

Definition at line 186 of file time_volt.py.

tuple time_volt::z1_val = np.polyval(z1, volt_values)

Residuals Analysis.

Residuals Analysis for the filtered Signal.

Definition at line 181 of file time_volt.py.

tuple time_volt::z2 = np.polyfit(voltArray, secArray,2)

Definition at line 150 of file time_volt.py.

Definition at line 187 of file time_volt.py.

tuple time_volt::z2_val = np.polyval(z2, volt_values)

Definition at line 182 of file time_volt.py.

tuple time_volt::z3 = np.polyfit(voltArray, secArray,3)

Definition at line 151 of file time_volt.py.

list time_volt::z3_l = []

Definition at line 243 of file time_volt.py.

Definition at line 188 of file time_volt.py.

tuple time_volt::z3_val = np.polyval(z3, volt_values)

Definition at line 183 of file time_volt.py.



cob_voltage_control
Author(s): Alexander Bubeck
autogenerated on Thu Aug 27 2015 12:45:45