View Single Post
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#1216
Originally Posted by Wikiwide View Post
Quick message...
Generally, I don't have Internet while on the move (or consider it expensive, or it is too slow). And, I generally don't want to depend on online services to help me with something which I could have done myself. Therefore, I have made a prototype offline routing: user gives one start, one end, and many middle points, and they are turned into a "route". It requires text input for each middle point, so that the user would write the speeches for espeak - like, "turn left", "turn right", "bus stop", "train", and so on.
I would be grateful if you could integrate this into one of the next versions. Thank you.
Though, I still haven't tested the system anywhere.
Turn-by-turn navigation interface does indeed work with handmade route. But I'm not sure whether the values of distance-meters are correct here.
This is the latest version of file mod_route.py, for ModRana version 0.36.6 git:c59ca30.
A line should also be added into mod_menu.py,as line 1100, to make the GUI icon for handmade route visible:
Code:
self.addItem('route', 'Handmade', 'generic', 'set:menu:None|route:selectManyPoints')
It's not a final, polished version, I suspect; first, even though overall length of route is likely correct, the lengths of steps are most likely completely wrong; second, there should be a way, while creating a route, to edit, or even delete, middle points, in case one of them is set incorrectly.
Best wishes to all of you.
__________________
Per aspera ad astra...
Attached Files
File Type: zip mod_route.py.zip (11.2 KB, 80 views)
 

The Following 2 Users Say Thank You to Wikiwide For This Useful Post: