It appears that this contains the number of increments of rotation for the current value of slip. However, slip is signed, and will definitely be negative during regen. However slipIncr is unsigned. Is this a bug? It works but I'm not sure if it works by accident, or whether I'm missing some intended behaviour here?
Any input from Johannes or anyone else who really understand this code would be appreciated.
Thanks, and sorry for my current flood of posts, I'm really getting my teeth into this
