✨
This commit is contained in:
@ -48,7 +48,7 @@ def main():
|
|||||||
while not all(calibrated):
|
while not all(calibrated):
|
||||||
for i, function in enumerate(tests):
|
for i, function in enumerate(tests):
|
||||||
if not calibrated[i]:
|
if not calibrated[i]:
|
||||||
wheels = function(arlo, *values)
|
wheels = function(arlo, *values[i])
|
||||||
fraction = max(wheels)/min(wheels)
|
fraction = max(wheels)/min(wheels)
|
||||||
if fraction < THRESHOLD:
|
if fraction < THRESHOLD:
|
||||||
calibrated[i] = True
|
calibrated[i] = True
|
||||||
|
Reference in New Issue
Block a user