✨
This commit is contained in:
@ -77,7 +77,7 @@ def main():
|
|||||||
|
|
||||||
time = [0 for _ in range(4)]
|
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
|
# milliseconds per 10cm forward
|
||||||
time[0] = int((1000 * 10 * cpc)/cps[0])
|
time[0] = int((1000 * 10 * cpc)/cps[0])
|
||||||
|
Reference in New Issue
Block a user