News for hackers. Stuff that matters.
Re:How we built a back end system for Uber-like maps with an... by kirkules on Monday February 20, 2017 @04:36PM (#13691176)
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".
Re:How we built a back end system for Uber-like maps with an... by bigiain on Monday February 20, 2017 @05:49PM (#13691749)
Thought: 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.