How can I calculate total hours of journey between 2 corelocation objects?
How to calculate total hours of journey bet开发者_运维百科ween 2 corelocation objects ??
You have to calculate the total distance D, assume a velocity profile at each point, and divide the total distance by the average velocity. It's an easier calculation if you assume a constant velocity for the whole trip; accounting for stops, starts, accels and decels will complicate the problem a great deal.
精彩评论