Defines the total traveled distance by the system in km.
constonDistanceChange= (value:number, timestamp?:Date) => {console.log(value, timestamp);};COBI.motor.distance.read(onDistanceChange); // Instantly get the current valueCOBI.motor.distance.subscribe(onDistanceChange);COBI.motor.distance.unsubscribe(onDistanceChange);
constonDistanceChange= (value:number, timestamp?:Date) => {console.log(value, timestamp);};COBI.motor.distance.read(onDistanceChange); // Instantly get the current valueCOBI.motor.distance.subscribe(onDistanceChange);COBI.motor.distance.unsubscribe(onDistanceChange);