Lap Speed

How do i get a simple lap speed

i see that in the sdk module you can get info.lapSpeed but it gets nothing


so i tried to do this

  function doLapSpeed() {

if (totalLapSpeed >= 1){

        return totalLapSpeed / lapSpeedCounter;

    } else {

return "0";


and

    function onTimerLap() {

resetLapSpeed();

but it's not working