A snubber across the gear motor might help. Don't use just a capacitor as that can make things worse. Use a series combo of a capacitor, probably in the range of a few nF to 100 nF and low-value resistor in the range of 5 to 50 ohms. I'd start with about 10 nF and 20 ohms. Remember that if the motor is powered by unfiltered PWM, there will be a current pulse through the RC each time the driver turns on, so the impedance of the snubber should not be too low.
Get the conductors to the speed sensors twisted into proper groups.
We need a schematic of the speed sensor boards.
Get the conductors to the speed sensors twisted into proper groups.
We need a schematic of the speed sensor boards.