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])