Formula Student Electronics & Software
The code for the embedded software
|
Go to the source code of this file.
Namespaces | |
namespace | calibration |
Functions | |
calibration.display (str, center=centerpos, fontsize=40) | |
calibration.percent_deviation (t1, t2) | |
calibration.process_and_save (data, filename, saved_points, n_saved) | |
Variables | |
calibration.screen = pygame.display.set_mode((640, 480)) | |
tuple | calibration.centerpos = (screen.get_rect().centerx, screen.get_rect().centery) |
int | calibration.step = 0 |
bool | calibration.done = False |
list | calibration.lines_y = [y for y in range(125, screen.get_height() - 25, 25)] |
list | calibration.saved_points = [] |
int | calibration.n_saved = 0 |
tuple | calibration.data = (int(line.split("\t")[0]), int(line.split("\t")[1])) |