This is a small hack I made for a Make video.
The code is attached above :)
I like it! Now make it do a perfect parallel parking ...
Changing the PWM frequency may also help. Lower frequency means wider and longer pulses, which may help at low speeds. You may have to play with the frequency to tune to your motors.
I finally got the robot slow enough! I used 60ish % PWM and it was rolling smooth. Also, there was a 75millisecond coasting time. Thanks, you guys rock!
I'll have to try that soon. Thanks.
use a slightly higher pwm to start and then drop it down once the vehicle is moving.
Nice episode, Frits!