This commit is contained in:
NikolajDanger committed 2022-09-19 15:57:30 +02:00
1 parent 0ea58a37e5
commit 30795ca1ea
1 file changed
+3 -3
+3 -3
View File
@@ -86,10 +86,10 @@ def main():
cpr = 3.1415*38 # 1 rotation in cm
# milliseconds per 10 degrees clockwise
time[2] = int((1000 * cpc)/(cps[2] * 36))
time[2] = int((1000 * cpr * cpc)/(cps[2] * 36))
# milliseconds per 10 degrees anticlockwise
time[3] = int((1000 * cpc)/(cps[3] * 36))
time[3] = int((1000 * cpr * cpc)/(cps[3] * 36))
print(cps)
values_hex = "-".join([".".join([str(i) for i in v]) for v in values])
time_hex = "-".join([str(i) for i in time])