I have a car that doesn't have a gearbox sensor, only ABS sensors on each wheel. I have connected them successfully to the MS3 and getting proper wheel speeds, but now I want to enable traction control.
The current code assumes that VSS1 is the driven wheel and VSS2 is the undriven wheel.
The problem is my case is that VSS1 is one of the TWO driven wheels, so it may not be the spinning wheel (ie maybe its the outer wheel in a tight turn, and only the inner wheel is spinning).
So, when enabling 4 wheel speed sensors, it should be so that VSS1 and VSS2 are the driven left and right wheels, and VSS3 and VSS4 are the undriven left and right wheels.
Then, VSS1 and VSS2 are compared against VSS3 and VSS4.
Like this:
Thoughts?if ((vss1 > vss3) || (vss2 > vss4))
do_traction();