More speech output
Ch. Eckert <geeemmixx <at> gmx.net>
2011-12-27 01:02:24 GMT
Hi,
http://code.google.com/p/monav/source/browse/?name=permaroute
As anticipated, creating useful speech output is more than demanding.
It's quite challenging, and frankly, I'm not suprised about that.
The current code contains ugly hacks (Stevie Wonder would sing »Isn't it
ugly«) and is anything else than usable (exept for hardcore OSM addicts
like me, of course).
What I have done so far
* Persistent route
MoNav now is capable of detecting whether the current position is near
the computed route or not. This helps to take GPS inaccuracy into
account. The route is not recalculated at each GPS update anymore.
Instead, MoNav checks whether ther current position is near one of the
route's segments. If so, it keeps the route (or truncates it in case the
vehicle moves along the route). In case the vehicle leaves the route for
more than x meters, MoNav recalculates the route.
* Position clicking
Clicking the source on the map now behaves like a moving vehicle. In
case the click is near the route, it will either be shortened, retained
or recomputed as if the click was a real GPS position. This mainly
serves for debugging purposes, but is useful for demonstration anyway.
(Continue reading)