User Tools

Site Tools


access:track_statistics_definitions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
access:track_statistics_definitions [2016/12/22 00:24]
mjallison
access:track_statistics_definitions [2016/12/22 18:37] (current)
mjallison
Line 31: Line 31:
        
    //    //
-   // Points are assumed to be order in time such that time(pt[0]) ​is time(pt[1])+   // Points are assumed to be order in time such that time(pt[0]) ​time(pt[1])
    //    //
    int movingTime = 0;    int movingTime = 0;
Line 48: Line 48:
       float tmpspeed = (prevDelta > 0) ? distance/​prevDelta : 0;       float tmpspeed = (prevDelta > 0) ? distance/​prevDelta : 0;
   
-      if( (prevDelta <idleTime) && (tmpspeed >idleFPS) )+      if( (prevDelta < idleTime) && (tmpspeed > idleFPS) )
       {       {
          ​movingTime += prevTimeDelta;​          ​movingTime += prevTimeDelta;​
access/track_statistics_definitions.1482366252.txt.gz · Last modified: 2016/12/22 00:24 by mjallison