This commit is contained in:
NikolajDanger
2022-09-21 10:02:39 +02:00
parent 2000337f8f
commit e10495e64e
2 changed files with 137 additions and 2 deletions

View File

@ -65,7 +65,6 @@ def main():
calibrated[i] = False
wheels = function(arlo, *values[i])
fraction = max(wheels)/min(wheels)
print(fraction)
if fraction <= THRESHOLD:
calibrated[i] = True
elif wheels[0] < wheels[1]:
@ -89,7 +88,6 @@ def main():
time[2] = int((1000 * cpr * cpc)/(cps[2] * 36))
# milliseconds per 10 degrees anticlockwise
time[3] = int((1000 * cpr * cpc)/(cps[3] * 36))
print(cps)
values_hex = "-".join(
[".".join([format(i, "x") for i in v]) for v in values]