there is car ai racing in the aums that uses laps maybe check into that see how checkpoint is done there , that might help