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 34 of file time_volt.py.


Variable Documentation

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

Definition at line 53 of file time_volt.py.

Definition at line 310 of file time_volt.py.

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

Definition at line 311 of file time_volt.py.

Definition at line 281 of file time_volt.py.

Definition at line 292 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 76 of file time_volt.py.

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

Parameters for the Python script.

Definition at line 46 of file time_volt.py.

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

Definition at line 48 of file time_volt.py.

Definition at line 286 of file time_volt.py.

Definition at line 287 of file time_volt.py.

Definition at line 297 of file time_volt.py.

Definition at line 282 of file time_volt.py.

list time_volt::off_y = 6000

Definition at line 290 of file time_volt.py.

Definition at line 293 of file time_volt.py.

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

Definition at line 111 of file time_volt.py.

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

Definition at line 112 of file time_volt.py.

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

Definition at line 113 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 255 of file time_volt.py.

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

Definition at line 47 of file time_volt.py.

list time_volt::row = row[0]

Definition at line 78 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 99 of file time_volt.py.

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

Definition at line 273 of file time_volt.py.

Definition at line 300 of file time_volt.py.

list time_volt::theta = 0.2

Definition at line 279 of file time_volt.py.

Definition at line 280 of file time_volt.py.

Definition at line 85 of file time_volt.py.

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

Savitzky Golay Filter Applied to the Battery Voltage.

Definition at line 156 of file time_volt.py.

tuple time_volt::volt_v = (float)

Definition at line 79 of file time_volt.py.

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

Definition at line 100 of file time_volt.py.

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

Definition at line 108 of file time_volt.py.

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

Definition at line 49 of file time_volt.py.

dictionary time_volt::yl = {}

Definition at line 50 of file time_volt.py.

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

Definition at line 103 of file time_volt.py.

Definition at line 140 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 135 of file time_volt.py.

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

Definition at line 104 of file time_volt.py.

Definition at line 141 of file time_volt.py.

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

Definition at line 136 of file time_volt.py.

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

Definition at line 105 of file time_volt.py.

list time_volt::z3_l = []

Definition at line 197 of file time_volt.py.

Definition at line 142 of file time_volt.py.

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

Definition at line 137 of file time_volt.py.



cob_voltage_control
Author(s): Alexander Bubeck
autogenerated on Sat Jun 8 2019 21:02:33