The Following User Says Thank You to CormacB For This Useful Post: | ||
|
2011-01-14
, 11:06
|
Posts: 244 |
Thanked: 354 times |
Joined on Jul 2010
@ Scotland
|
#82
|
The Following User Says Thank You to gregoranderson For This Useful Post: | ||
|
2011-01-14
, 13:05
|
Posts: 137 |
Thanked: 150 times |
Joined on Jan 2010
|
#83
|
The Following 9 Users Say Thank You to CormacB For This Useful Post: | ||
|
2011-01-14
, 16:39
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#84
|
The Following 4 Users Say Thank You to Android_808 For This Useful Post: | ||
|
2011-01-14
, 16:47
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#85
|
The main "entry point" when evaluating is the check that we have the WITH_ROUTE state. Then it checks that we are on target and don't have invalid junctions. Then it checks for various distance and times to maneuvers and decides what, if anything, to say. I guess that this should be evaluated on every position update.
The Following User Says Thank You to Android_808 For This Useful Post: | ||
|
2011-01-14
, 17:10
|
Posts: 137 |
Thanked: 150 times |
Joined on Jan 2010
|
#86
|
|
2011-01-14
, 17:32
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#87
|
The Following User Says Thank You to Android_808 For This Useful Post: | ||
|
2011-01-14
, 17:55
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#88
|
http://pastebin.com/c66yxAeK Javascript parser/evaluator for config.xml. I think some of it is right
What is most definitely wrong is distanceposition/timeposition elements and logic attribute.
http://pastebin.com/A5eq7CDr Simple test webpage. edit the eg object in the js file to try to generate different directions. Currently all sounds are playing at once
if (xmlhttp.readyState==4 && xmlhttp.status==200)
The Following User Says Thank You to Android_808 For This Useful Post: | ||
|
2011-01-14
, 18:53
|
Posts: 1,203 |
Thanked: 3,027 times |
Joined on Dec 2010
|
#90
|
The Following User Says Thank You to Android_808 For This Useful Post: | ||
The decision of when to play sounds is indeed very dumb, and should take speed into account, but I fear accuracy is going to be a problem.
So has anyone got one of the sound files to play from within Ovi Maps? I tried an embed tag but I can't seem to get it to work.
Also does anyone have Ovi Maps for a Symbian phone? It might help figure out the logic in config.xml.