Detect traction loss on constraint vehicle

pretty complicated subject IMO, but depending on your vehicle design there is a lot of factors that can go into this.

check the first comment out on this article.

this is for skid marks, but he tells you how to detect lose traction to create the skids.