We now have the distance sensor full code working

This commit is contained in:
Danny Staple
2022-12-28 20:49:55 +00:00
parent 6ebb615044
commit d168b2664d
54 changed files with 3272 additions and 5353 deletions
@@ -17,7 +17,6 @@ ticks_to_mm = wheel_circumference_mm / ticks_per_revolution
ticks_to_m = ticks_to_mm / 1000
m_to_ticks = 1 / ticks_to_m
wheelbase_mm = 170
distance_sensor_from_middle = 40 # approx mm
motor_A2 = pwmio.PWMOut(board.GP17, frequency=100)
motor_A1 = pwmio.PWMOut(board.GP16, frequency=100)