From 034ac5cacb995fe69a3fed26f54c6ae505858edb Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Mon, 19 Sep 2022 15:59:15 +0200 Subject: [PATCH] :sparkles: --- calibrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calibrate.py b/calibrate.py index 3348871..8c51613 100644 --- a/calibrate.py +++ b/calibrate.py @@ -77,7 +77,7 @@ def main(): time = [0 for _ in range(4)] - cpc = 3.14159*15*144 # wheel counts per cm + cpc = 144/(3.14159*15) # wheel counts per cm # milliseconds per 10cm forward time[0] = int((1000 * 10 * cpc)/cps[0])