ME 405 Romi
Loading...
Searching...
No Matches
pc_micro_reader.py File Reference

Go to the source code of this file.

Namespaces

namespace  pc_micro_reader

Functions

 pc_micro_reader.saveHeaders ()
 brief Reads the header line from the data
 pc_micro_reader.saveData ()
 brief Saves the data sent from a single test
 pc_micro_reader.plotData (times, data, thead, dhead, legend)
 brief Plots passed data
 pc_micro_reader.average (data_list)
 brief Averages data
 pc_micro_reader.timeConstant (data)
 brief Returns time cosntant of motor
 pc_micro_reader.motorGain (test_num, data)
 brief Returns motor gain of motor
 pc_micro_reader.get_test_plots ()
 brief Saves and creates test plots Effects
 pc_micro_reader.run_tests ()
 brief Runs the User tests
 pc_micro_reader.line_test ()

Variables

int pc_micro_reader.NUMBERS_OF_TESTS = 10
 User tests.
int pc_micro_reader.VALUES_SENT = 50
int pc_micro_reader.period = 13/1000
list pc_micro_reader.motor_gains_l = []
list pc_micro_reader.time_constnats_l = []
list pc_micro_reader.motor_gains_r = []
list pc_micro_reader.time_constnats_r = []
int pc_micro_reader.test_end = 1
int pc_micro_reader.arc_lim = 100
int pc_micro_reader.velo_lim = 300
int pc_micro_reader.angular_lim = 10
bool pc_micro_reader.test_done = True
 pc_micro_reader.port
 pc_micro_reader.baudrate
 pc_micro_reader.timeout
 pc_micro_reader.user_input = input("press c for calibrate, t for step test, q to quit, g to go, i for imu data")