View Single Post
Posts: 137 | Thanked: 150 times | Joined on Jan 2010
#69
Here is an updated GuidanceModel http://pastebin.com/gphsHEGN and ApplicationPlayer http://pastebin.com/8bpYVSds which does advance warnings (with next street name) and maneuvers using the python espeak server. It uses the localized messages so it should work in languages other than English with the appropriate espeak language. Firrewall issues prevent me uploading the whole file right now.

I reorganized the code a bit so that the GuidanceModel sends events rather than directly calling GUI related methods, which I think is a bit cleaner. The voice event handlers are just stuck into ApplicationPlayer which is not so clean. There isn't any icon display yet in this version.

The distance code is very rough so this will be easily confused to turns that are close to eachother and inaccurate GPS.
 

The Following 4 Users Say Thank You to CormacB For This Useful Post: