Time = D / Vn where D is the distance shown and Vn is the following:
Vn = 1/8 * Vs + 7/8 * Vp where
Vs is the current sample of speed,
Vp is the previous Vn
8 is a number depends on the sampling rate.
I have detailed solution if you like to actually provide a more accurate time to next turn in abnormal situations. The solution is very simple
Regards,
Meged
Time = D / Vn where D is the distance shown and Vn is the following:
Vn = 1/8 * Vs + 7/8 * Vp where
Vs is the current sample of speed,
Vp is the previous Vn
8 is a number depends on the sampling rate.
I have detailed solution if you like to actually provide a more accurate time to next turn in abnormal situations. The solution is very simple
Regards,
Meged