One for the PI match guru's
For reasons I won't go in to (unless you push me) I need to calculate the distance so far of the current lap.
I have a formula for the total distance so far but don't know how to 'reset' it for each lap.
Any ideas?
My current formula thingy is -
register @R;
@R=@R+([CAN Car Speed]*1609.34*0.1*5/(60*60*8));
@R;
Any guidance appreciated.
|