milkboy / WME-ja

9 stars 8 forks source link

New turn/keep, gray zone and overlapping angles. #49

Closed FZ69617 closed 9 years ago

FZ69617 commented 9 years ago

Key changes:

Other changes:

All above changes have been introduced based on my experiments on the map. However, we need further testing in order to ensure correctness of these changes - especially, I'm not really sure whether a "gray zone" can safely be disabled.

FZ69617 commented 9 years ago

Below are just a few of map experiments performed by me in order to verify proposed values.

Overlapping angle guess: https://www.waze.com/pl/editor/?env=row&lon=15.49936&lat=51.88382&layers=452&zoom=8&segments=279263298,279347932 image

As you can see 0.5 is just my guess - there are still a lot of other possibilities. :) I'll prepare other tests in order to find better approximation here.

Generalized overlapping algorithm basis: https://www.waze.com/pl/editor/?env=row&lon=15.50140&lat=51.88435&layers=452&zoom=6&segments=279348386,279348858,279348822 image

The client app., WME Route Checker and LiveMap suggestions are inline with above JAI estimations, but I think we are still just a bit closer to the angles used by real Waze algorithms. :)