Namespaces | Functions | Variables
time_volt.py File Reference

This module is for characterizing the Care-o-bot 3 battery. More...

Go to the source code of this file.

Namespaces

namespace  time_volt

Functions

def time_volt.main

Variables

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

Detailed Description

This module is for characterizing the Care-o-bot 3 battery.

Note:
Copyright (c) 2013
Fraunhofer Institute for Manufacturing Engineering and Automation (IPA)

Project name: Care-O-bot Research
ROS package name:
Author:
Author: Thiago de Freitas Oliveira Araujo, email:thiago.de.freitas.oliveira.araujo@ipa.fhg.de
Supervised by: Florian Weisshardt, email:florian.weisshardt@ipa.fhg.de
Date:
Date of creation: March 2013

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License LGPL as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License LGPL for more details.

You should have received a copy of the GNU Lesser General Public License LGPL along with this program. If not, see < http://www.gnu.org/licenses/>.

Definition in file time_volt.py.



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