Thanks so much! This is making sense! Would it work to use this as I had it from before?You will need some way of generating the pulses to control the speed of the motors. I would recommend an Arduino microprocessor module. It is fairly simple to use and there are lots of application examples on the internet. It will interface directly to the motor controller you have chosen.
There are a couple of ways to measure the speed of a motor. You can use an optical tachometer circuit or you can measure the back EMF of the motor which is proportional to its speed. Once you have a signal that is proportional to the motor speed, you can compare it to a reference and program the microprocessor to change the ratio of the pulses to maintain the correct motor speed.
If you do not feel confident enough to tackle a project like that, I would recommend that you use a simple speed controller and voltage regulator to compensate for changes in the battery voltage.
Here is a suitable motor speed controller:
https://www.aliexpress.com/item/328...chweb0_0,searchweb201602_4,searchweb201603_52
Here is a voltage regulator:
https://www.aliexpress.com/item/329...chweb0_0,searchweb201602_4,searchweb201603_52