5 ms·
Honestly I think they should do something combining the linear interpolation between data points with acceptance of the delay. Just animate between consecutive
by kirkules 10y ago
Honestly I think they should do something combining the linear interpolation between data points with acceptance of the delay. Just animate between consecutive received data points, and for the first 15 seconds, replace the car with some animated sprite that visually suggests "your driver is here and is starting to come get you, even though this sprite is staying in the same place".
- bigiain 10y agoThought: the customer's app probably has access to the accelerometers in the phone - maybe use that to trigger the animation of the driver moving off (the assumption that he starts moving in the same direction as he arrived would probably be "good enough". I suspect there's likely to be some reasonable numbers to use as an estimation of how quickly to animate the movement on the map based on accelerometer data and basic assumptions/measurements of how quickly drivers typically move away from a pickup.