Speed

Speed provided by the intelligence library used in the app (in m/s)

const onSpeedChange = (value: number, timestamp?: Date) => {
    console.log(value, timestamp);
};

COBI.rideService.speed.subscribe(onSpeedChange);
COBI.rideService.speed.unsubscribe(onSpeedChange);

Last updated