Cadence

Cadence — in rpm. Unifies all the sources for cadence.

When cadence is reported from different sensors, only the most accurate one is reported on this property.

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

COBI.rideService.cadence.subscribe(onCadenceChange);
COBI.rideService.cadence.unsubscribe(onCadenceChange);

Last updated