GPXIN-11: Stationary time calculations may be inaccurate



Issue Information

Issue Type: Improvement
 
Priority: Major
Status: Open

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: PHP GPXIngest (GPXIN)
Resolution: Unresolved
Target version: 1.03,

Created: 2013-11-18 07:56:00
Time Spent Working


Description
The calculation of time stationary may be inaccurate;

|time|speed|
|10|20|
|20|20|
|30|0|
|40|0|
|50|5|

If the chart above was used, GPXIngest would calculate a stationary time of 20 seconds ((30 - 20) + (40-30)) .

However, during (at least some of) the 10 seconds between 20 & 30, the vehicle would have been decelerating.

Really what needs to happen, is we need to look at whether the last speed was 0, and consider the block moving time if not. So the car in the chart above would have been stationary for 10 seconds, and moving for 30


Toggle State Changes

Activity