I have some position & time values describing movement of some vehicle. But in some time intervals vehicle wait in some position. I cant figure out how can i set waiting time.?
In the example data provided below : position values corresponding to 40 and 50 are same = (4, 4 ,0) That means vehicle wait 10 second in that position. But it doesn't work because of interpolation.
Ex :
"position":{
"interpolationAlgorithm":"LAGRANGE",
"interpolationDegree":1,
"epoch":"2012-08-04T16:00:00Z",
"cartesian": [
0.0, 0, 0, 0,
10.0, 1 ,1 ,0,
20.0, 2, 2, 0,
30.0, 3, 3, 0,
40.0, 4, 4, 0,
50.0, 4, 4, 0
]
}