• @Gordon, It runs as is on 1v80.280 so far. I will try the new build today.

    I used a timing approach fairly basic as below:

    // chronometer functionnalities
    
    var Chrono = function (heure) {
      this.reset();
      this.createdAt = heure;
    };
    
    Chrono.prototype.reset = function () {
      this.meanTime=0;
      this.nlines=0;
      this.duration=0;
    };
    
    Chrono.prototype.start = function () {
      this.starttime= getTime();
    };
    
    Chrono.prototype.leap = function () {
      this.nlines++;
    };
    
    Chrono.prototype.stop= function () {
      this.duration+=getTime()-this.starttime;­
      this.meanTime=this.duration/this.nlines;­
    };
    
    Chrono.prototype.toString= function(radix) {
    };
    
    var mychrono = new Chrono(getTime());
    
    
    

    mychrono is then called at proper places in the gps loop.

About

Avatar for asez73 @asez73 started