maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] modRana: a flexible GPS navigation system (https://talk.maemo.org/showthread.php?t=58861)

skykooler 2011-04-01 00:32

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by jj0 (Post 979572)
I think I've come up with the reason the font is messed up, sometimes supersmall in the directions.

You said, the size is determined automatically, so that the instructions fit in the box, right?

Well this is it, sometimes the directions are super long, and they seem to be fitted on only one line, and then when super small split...

I think this is a wrong approach, the font should always stay the same, the instructions should have line folding, and then after a couple of lines, if they don't fit in the box, well too bad, they should just be cut...

I agree. The most significant part of the instructions is usually the first few words.

MartinK 2011-04-07 23:11

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by petur (Post 973717)
I was preparing a trip, and just browsing some location, so no cached tiles, everything needed to be downloaded as I was dragging the map around. Some things I noticed:
- when dragging a lot, I was greeted with a screen full of blue squares, tiles waiting for a slot. Took quite some time for them to get a slot and draw a map.
- same for zooming in/out: lots of tiles waiting for a slot.

I thought the visible tiles had priority? Or maybe they are all busy downloading, are slow, and thus need so much time.

Yep - blue tiles -> maximum number of concurrent tile download threads reached. The tiles are actually downloaded LIFO, but because each download takes some time, downloads for an "invisible" area might be using the available slots.

Quote:

Originally Posted by petur (Post 973717)
I guess aborting the download would be an option if the tile is no longer visible?

I'll have to check if the file download module/library supports this.
Provided I can get this to work efficiently (without starting and stopping downloads for the same tiles all the time :) ), there might be quite a few advantages:
  • less data transfered
  • quicker reaction time to a changing location
  • possibly also less concurrent download threads


Quote:

Originally Posted by whats_up_skip (Post 974382)
If I turned off the route it gave me no warning or information on how to get back to the route. This is could a good thing some times, but a big problem other times.

Quote:

Originally Posted by skykooler (Post 974392)
This is one of the big things I am waiting for, too: automatic route recalculation.

Automated rerouting will be added - I already have an idea how to do it (distance from route segment larger than X -> reroute), I'll just have to actually write it. There will also be an OFF switch for it, of course. :)
BTW, I'm also thinking about doing something like:
"rerouting in 5 seconds" + displaying a cancel buttons and preparing the route in the meantime.


Quote:

Originally Posted by cheve (Post 974387)
@MartinK: I also like the 'Map Screen' in the power button menu; however, it would be more user-friendly(ihmo), that an on screen 'goto-map-screen' button is implemented at each level of the menu screen.

Just do a long press on the "escape" arrow - it should switch you directly to the map screen. I really have to finally document this on the wiki :)

Quote:

Originally Posted by cheve (Post 974387)
I have just discovered that I am able to have two copy/instance of modRana running at the same time and these instances seem to be independent of each other. Is it by design?
Cheers,

Well, not really by design but certainly possible :) But both (or more :D) instances share the same options storage file and I don't really test it with this in mind :)

MartinK 2011-04-07 23:40

Re: [Announce] modRana: a flexible GPS navigation system
 
[QUOTE=jj0;975130]Well, I drove a looong way and first I want to say:

A SIGNIFICANT, SIGNIFICANT improvement. Changing tile loading to LIFO makes a great different, the nav is useable now at high speeds. Thanks a lot, Marting.

Now for the problems however. I've identified three major issues, one of which is critical:

Quote:

Originally Posted by jj0 (Post 975130)
1. Map overlay results in at least doubling the CPU and mem load and makes it unuseable completely, the system slows down and just a big problem... You've already mentioned you're working on this.

2. Same with autorotation, to a lesser degree, it's useable but slows it down considerably. But that's how a nav should work, so this feature is needed. I understand you're also already addressing this issue.

Yep, I'm working on this - I have working visibility checking for rotation (previously an unnecessarily large are was loaded and drawn to cover the entire rotated viewport). I'll do the overlaid tile caching next - the tiles will be overlaid once and then cached, not drawn twice on every refresh like previously.
NOTE: Once clutter support is in, things like smooth zooming & rotation, fake 3D and mindbogling tile loading effects will become possible.

Quote:

Originally Posted by jj0 (Post 975130)
3. This one I think is critical - the tile loading is still a SUPER slow process. It is slightly better when using the sql than regular files. The speed of loading each individual tile for display seems to vary, however in extended navigation it howers somewhere slightly under 2 secs per tile. This is terrible, since usually you're displaying a screen of 8 tiles or so, they go from green to display (this is for already downloaded tiles) one by one, each in under 2 seconds. The whole display thus takes 15 seconds, this on zoom in and zoom out, so this problem is a significant one.

The tiles really should not take so long to load - most of them are very small and should load instantenously.
The tile loading is done sequentially in a background thread (so that the GUI doesn't have to wait for the tiles to load) - this thread might be resource starved or blocked by something.

Quote:

Originally Posted by jj0 (Post 975130)
It seems to me that tiles are also loaded around the visible area of the screen, since when dragged they are showed immediately for a while.

Once loaded from storage or network, tiles are cached in memory. There is a limit on the number of cached tiles - once this limit is reached, old tiles start to be discharged.

Quote:

Originally Posted by jj0 (Post 975130)
However there is some intense processing when loading the tiles, which results in this incredibly slow loading process, which is bad.

Finally, I strongly recommend making the tile download also LIFO, as it's FIFO I think, and it's a big prob when on the move, zoomed in, downloading new tiles. It should be LIFO just like tile loading, with the ones no longer needed download paused and resumed after the visible ones are downloaded.

I'll have to check if it is possible to pause a download - it might be easier to just cancel ant then start again, concerning the generally small size of the tiles.

Quote:

Originally Posted by jj0 (Post 975130)
Another quite big problem is the size of the font. Many times, as has been mentioned here before, it gets messed up and is SUPER tiny, meaning you cannot read it. This issue usually corrects itself with the move to next driving direction, however it's always on a specific direction, i.e. if it's tiny, you go to next which is big for instance, and then back to the tiny one, it stays tiny.

More often than not, the directions' font is tiny which is a big problem, since many times I wanted to check the km to next turn etc. but couldn't.

As there were already quite a few requests for a more readable text in the navigation info box, I'll make this my priority for the next release. :)

Quote:

Originally Posted by jj0 (Post 975130)
Also, you definitely should change the setting for distance when speaking the directions to time-based interval setting, i.e. how many secs before a turn based on recent speed.

I also recommend adding, total remaining distance towards goal in the directions blue window display, not only next turn, but total remaining km.

That should fit to the right quite nicely, like this:
in 50 meters <-- blank space ---> 50/120 km
turn right to the Sesame street


Quote:

Originally Posted by jj0 (Post 975130)
These are my major remarks in testing the latest version.

Thanks ! :) The feedback from your field-testing is very important and much appreciated! :)

Quote:

Originally Posted by jj0 (Post 975130)
Thanks for the big improvement, and please try to focus the tile loading especially, as well as considering my other suggestions.


MartinK 2011-04-08 00:05

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by xerxer (Post 975232)
i'm going to donate to this , it's very very great

Thanks in advance ! :)

Quote:

Originally Posted by xerxer (Post 975232)
and i'm waiting for an update soon :)

I'm working on it. :)

Quote:

Originally Posted by jj0 (Post 975532)
And I would recommend adding two buttons to the mainscreen when the zoom-in, zoom-out and menu buttons become available by clicking the screen:

- Toggle map overlay on/off, I do this quite often, sometimes it's useable to view the sat nav over the map, sometimes not.
- Sound on/off, this is also useful while navigating sometimes.

This might be a job for the (not yet properly implemented :) ) map screen widgets - the menu already has quite a few (5 + nav. box) elements and might become too crowded if I add more by default.

What about a stopgap - an on-screen button that instantly launches the app menu ?

Quote:

Originally Posted by jj0 (Post 977034)
I have two additional recommendations, it'd be useful to show current travelling speed.

And then, alongside the remaining km to next turn, and total remaining km, also the estimated time to next turn, and total remaining estimated time.

Well, the screen real estate in the navigation box is already limited :)

I'll have to add something like "show time/show/distance/ show time and distance" and a "show speed" toggle to options, so that the amount of displayed information can be customized :)


Quote:

Originally Posted by jj0 (Post 979572)
I think I've come up with the reason the font is messed up, sometimes supersmall in the directions.

You said, the size is determined automatically, so that the instructions fit in the box, right?

Well this is it, sometimes the directions are super long, and they seem to be fitted on only one line, and then when super small split...

Yep, its exactly like this - many words = small font. This is also how all text rendering works in modRana.

Quote:

Originally Posted by jj0 (Post 979572)
I think this is a wrong approach, the font should always stay the same, the instructions should have line folding, and then after a couple of lines, if they don't fit in the box, well too bad, they should just be cut...

I'm going to implement something like this - use a big font (size proportional to screen size), if it doesn't fit on a single line, try to fold to more lines & cut lines that don't fit in the box. It would be also sensible to indicate the some text has been cut.

skykooler 2011-04-09 05:02

Re: [Announce] modRana: a flexible GPS navigation system
 
I have a weird problem. When approaching one exit, this is what Google says: "Take exit 340A on the left toward Lincoin Dr/Kelly Dr".
Modrana always says "Take exit three hundred and forty A on the left toward Lincoin Doctor slash Kelly Drive."
Apart from the misspelling of "Lincoln" (Google's fault), why does it say Doctor the first time and Drive the second?

Mentalist Traceur 2011-04-09 05:44

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by skykooler (Post 984437)
I have a weird problem. When approaching one exit, this is what Google says: "Take exit 340A on the left toward Lincoin Dr/Kelly Dr".
Modrana always says "Take exit three hundred and forty A on the left toward Lincoin Doctor slash Kelly Drive."
Apart from the misspelling of "Lincoln" (Google's fault), why does it say Doctor the first time and Drive the second?

My guess is that since the parser has no "human" way of understanding language, and it's meant to speak for more general/broad uses than JUST routing, "Dr" can be either Doctor or Drive - by extension, it uses heuristics to guess when it means what - in this case, it sees "Dr" at the very end of the string of text, and presumably assumes that that can't be Doctor because English never uses "doctor" like that, at the end of a sentence as an abbreviation.

However, the "/" doesn't make sense to it as the termination point in a clause, nor does it parse that "[something] Dr/[something else] Dr" means is two swap-able sub-clauses, both of which are thus to be seen as to be read as if they were at the end of the sentence.

Since this is the first time in a long while that I've looked at this thread, I have no idea what modRana uses as a text-to-speech backend.

Of course, you can't even take out "Doctor" as a reading of "Dr" even in Nav software, because you can't assume you won't run into a road called "Dr Stevenson Dr" or something.

petur 2011-04-11 09:29

Re: [Announce] modRana: a flexible GPS navigation system
 
this weekend brought up two bugs related to GUI rotation:

1) when you have modRana configured to auto-rotate, and you start it while holding it in portrait, it will not rotate and stay landscape. After rotating the phone to landscape and back, it follows.

2) when configuring the GUI to force a certain rotation, it will only use that when you restart it.

The above two made me stop on my bike to get the rotation right (had to take it out of the holder to get the orientation right)


I also discovered that while in bike mode, it will not route nor find/accept any address given to it. It seems that for bike routing it gets that info elsewhere, and this is not working. Good thing the route is maintained when switching between modes - this was my workaround ;)

skykooler 2011-04-15 20:26

Re: [Announce] modRana: a flexible GPS navigation system
 
One other suggestion: When two turns are close together, concatenate the directions, for example to make it say "Turn left on Elm Street, then turn right on Main Street", or even "Turn left on Elm Street, then turn right". This would help immensely in the city, where the notification distance for one direction is often passed while another is being spoken.

jose6a 2011-04-15 21:22

Re: [Announce][please help] modRana: a flexible GPS navigation system
 
hello, can some guru help me ? I had installed modrana with the aptget method but here is the problem :


[...]
le-1.3/free modrana 0.24-1 [1974kB]
Fetched 4872kB in 10s (446kB/s)
(Reading database ... 28938 files and directories currently installed.)
Preparing to replace espeak-data 1.44.05 (using .../espeak-data_1.45.14_all.deb) ...
Unpacking replacement espeak-data ...
Preparing to replace libespeak 1.44.05 (using .../libespeak_1.45.14_armel.deb) ...
Unpacking replacement libespeak ...
Selecting previously deselected package espeak.
Unpacking espeak (from .../espeak_1.45.14_armel.deb) ...
Selecting previously deselected package espeak-extra-data.
Unpacking espeak-extra-data (from .../espeak-extra-data_1.45.10_all.deb) ...
Selecting previously deselected package modrana.
Unpacking modrana (from .../modrana_0.24-1_all.deb) ...
Processing triggers for catorise ...
################################################## ##################################Setting up espeak-data (1.45.14) ...
Setting up libespeak (1.45.14) ...
Setting up espeak (1.45.14) ...
Setting up espeak-extra-data (1.45.10) ...
Setting up modrana (0.24-1) ...
postinst running
generating *.pyc files
Listing /opt/modrana ...
Listing /opt/modrana/cache ...
Listing /opt/modrana/cache/images ...
Listing /opt/modrana/cache/tracklogs ...
Listing /opt/modrana/data ...
Listing /opt/modrana/data/gui_source ...
Listing /opt/modrana/data/gui_source/backup ...
Listing /opt/modrana/data/gui_source/icons ...
Listing /opt/modrana/data/gui_source/svg ...
Listing /opt/modrana/data/poi ...
Listing /opt/modrana/data/tiledata ...
Listing /opt/modrana/modules ...
Listing /opt/modrana/modules/configobj ...
Listing /opt/modrana/modules/device_modules ...
Listing /opt/modrana/modules/googlemaps ...
Listing /opt/modrana/modules/googlemaps/local_simlejson ...
Listing /opt/modrana/modules/googlemaps/local_simlejson/simplejson ...
Listing /opt/modrana/modules/googlemaps/local_simplejson ...
Listing /opt/modrana/modules/googlemaps/local_simplejson/simplejson ...
Listing /opt/modrana/modules/googlemaps/local_simplejson/simplejson/tests ...
Listing /opt/modrana/modules/pycha ...
Listing /opt/modrana/modules/pyrender ...
Listing /opt/modrana/modules/pyrender/blank ...
Listing /opt/modrana/modules/pyroutelib2 ...
Listing /opt/modrana/modules/upoints ...
Listing /opt/modrana/modules/urllib3 ...
Listing /opt/modrana/nbproject ...
Listing /opt/modrana/themes ...
Listing /opt/modrana/themes/default ...
Listing /opt/modrana/themes/night ...
Listing /opt/modrana/tracklogs ...
Listing /opt/modrana/tracklogs/log ...
Listing /opt/modrana/tracklogs/misc ...
Listing /opt/modrana/tracklogs/online ...
seting modRana folder ownership and permissions
modRana upgrade: removing possible old cache files
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_non-free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_non-free_binary-armel_Packages)
W: You may want to run apt-get update to correct these problems

/ # apt-get update

Hit http://repository.maemo.org fremantle-1.3 Release.gpg
Ign http://repository.maemo.org fremantle-1.3/free Translation-fr
Ign http://repository.maemo.org fremantle-1.3/non-free Translation-fr
Get:1 http://repository.maemo.org fremantle-1.3 Release.gpg [489B]
Ign http://repository.maemo.org fremantle-1.3/free Translation-fr
Ign http://repository.maemo.org fremantle-1.3/non-free Translation-fr
Hit http://repository.maemo.org fremantle-1.3 Release
Get:2 http://repository.maemo.org fremantle-1.3 Release [7958B]
Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle-1.3/non-free Packages/DiffIndex
Hit http://repository.maemo.org fremantle-1.3/free Packages
Hit http://repository.maemo.org fremantle-1.3/non-free Packages
Get:3 http://repository.maemo.org fremantle-1.3/free Packages [7355kB]
Get:4 http://repository.maemo.org fremantle-1.3/non-free Packages [222kB]
Fetched 7585kB in 50s (151kB/s)
Reading package lists... Done
W: Conflicting distribution: http://repository.maemo.org fremantle-1.3 Release (expected fremantle-1.3 but got )
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_non-free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_non-free_binary-armel_Packages)
W: You may want to run apt-get update to correct these problems

/ # modrana

== modRana Starting ==
device string (first parameter): n900
process 7579: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 7579: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted


/ # modrana

== modRana Starting ==
device string (first parameter): n900
process 7592: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 7592: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted

how can i un-install now ?

i'm sorry but my english is so so so poor ... thanks for your help

handaxe 2011-04-17 19:10

Re: [Announce] modRana: a flexible GPS navigation system
 
to uninstall and remove all settings etc as root:

Code:

apt-get purge modrana
Those errors should not be fatal, at least they are not when I get them on a desktop system

MartinK 2011-04-18 01:02

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by skykooler (Post 984437)
I have a weird problem. When approaching one exit, this is what Google says: "Take exit 340A on the left toward Lincoin Dr/Kelly Dr".
Modrana always says "Take exit three hundred and forty A on the left toward Lincoin Doctor slash Kelly Drive."
Apart from the misspelling of "Lincoln" (Google's fault), why does it say Doctor the first time and Drive the second?

Quote:

Originally Posted by Mentalist Traceur (Post 984443)
My guess is that since the parser has no "human" way of understanding language, and it's meant to speak for more general/broad uses than JUST routing, "Dr" can be either Doctor or Drive - by extension, it uses heuristics to guess when it means what - in this case, it sees "Dr" at the very end of the string of text, and presumably assumes that that can't be Doctor because English never uses "doctor" like that, at the end of a sentence as an abbreviation.

However, the "/" doesn't make sense to it as the termination point in a clause, nor does it parse that "[something] Dr/[something else] Dr" means is two swap-able sub-clauses, both of which are thus to be seen as to be read as if they were at the end of the sentence.

Since this is the first time in a long while that I've looked at this thread, I have no idea what modRana uses as a text-to-speech backend.

Of course, you can't even take out "Doctor" as a reading of "Dr" even in Nav software, because you can't assume you won't run into a road called "Dr Stevenson Dr" or something.

I have added a Dr/ -> Drive substitution rule, but I have not tested it yet. :)

Quote:

Originally Posted by petur (Post 985476)
this weekend brought up two bugs related to GUI rotation:

1) when you have modRana configured to auto-rotate, and you start it while holding it in portrait, it will not rotate and stay landscape. After rotating the phone to landscape and back, it follows.

2) when configuring the GUI to force a certain rotation, it will only use that when you restart it.

The above two made me stop on my bike to get the rotation right (had to take it out of the holder to get the orientation right)

Thanks for reporting ! :)
I have found & fixed both bugs (in the current not-yet-released version). IMO nr. 1 might be quite important due to the rotation improvements in CSSU I have heard about.

Quote:

Originally Posted by petur (Post 985476)
I also discovered that while in bike mode, it will not route nor find/accept any address given to it. It seems that for bike routing it gets that info elsewhere, and this is not working. Good thing the route is maintained when switching between modes - this was my workaround ;)

This might be related to the fact that in bike mode modRana first tries to use a special bike-directions-mode from Google (while in "walking mode" it also uses a special walking-directions-mode), which is unfortunately not available everywhere (well, I'm not suer if it works at all :) ). If routing fail, normal (=car) routing should be used - this fallback mechanism might be somehow broken in the bike mode with address routing. I'll take a look at it. :)

Quote:

Originally Posted by skykooler (Post 989377)
One other suggestion: When two turns are close together, concatenate the directions, for example to make it say "Turn left on Elm Street, then turn right on Main Street", or even "Turn left on Elm Street, then turn right". This would help immensely in the city, where the notification distance for one direction is often passed while another is being spoken.

Nice idea ! I have created a ticket for it in the modRana project issue tracker.
It might come be pretty handy for dense urban areas with many turns.
The only downside might be that there would be much more text to display and even the voice messages might be a bit too long - but no show - but this should be solvable by configurability (people use modRana in various environments) & sensible defaults :)

Quote:

Originally Posted by jose6a (Post 989437)
hello, can some guru help me ? I had installed modrana with the aptget method but here is the problem :


[...]

process 7592: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 7592: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted


Quote:

Originally Posted by handaxe (Post 990637)
to uninstall and remove all settings etc as root:

Code:

apt-get purge modrana
Those errors should not be fatal, at least they are not when I get them on a desktop system

This looks quite strange - I would recommend first doing the purge handaxe suggests followed by a clean install (it shouldn't matter if you install from the command-line, HAM of FAM).

If this doesn't help, try to install python-hildon - this might be unrelated to the error you are getting, but it looks like I forgot to include it in the dependencies even though the last version already uses it. Most people probably already have something else that depends on it installed.

Progress update
The new rotation method that draws only visible tiles finally works with all modes (scaled map, center shifting, overlay,...). Overlay is now cached and really seems to be as fast as single layer map once the tiles are transparently combined and cached. BTW, it would be possible to add support for overlaying more than two map layers. But I just can't come with any use-case for this. :)

Next is bigger text for directions and some smaller stuff.

And on a related note - after fighting with dpkg for two days, PyClutter 1.0 is now packaged and available from Extras-devel. :) This was a pre-requisite for using the GPU accelerated Clutter GUI library in modRana.

I have not started on on the clutter-accelerated map view yet, but this package means that when I have something releasable, users will have all the needed dependencies.

Technical note - What is Clutter ?
Clutter is GPU accelerated GUI library that enables fast animated manipulation with graphical elements.
Hildon uses a an old version of Clutter (0.8) for all its animations and transitions and Mappero uses clutter for its map view.

skykooler 2011-04-18 14:47

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 990768)
BTW, it would be possible to add support for overlaying more than two map layers. But I just can't come with any use-case for this. :)

If the Google Traffic tiles were available, you might want them over a map overlay over a sat image.

jj0 2011-04-19 12:57

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by skykooler (Post 991139)
If the Google Traffic tiles were available, you might want them over a map overlay over a sat image.

With this I have a question, that I hadn't had time to investigate further... How does modrana handle updating of already downloaded cached tiles?

I.e. some of the maps don't change so often, but for instance in OSM in some regions you will have development and changes to the map over time.

Does modrana check if newer tile versions are available on the net and redownload them?

This would of course be necessary for traffic also...

cheve 2011-04-22 01:50

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by jj0 (Post 961987)
Though they sound better, I'd advise against mbrola, as it's not free, it's closed source, not worth it in my mind...

.

please checkout the license/terms, it does not look too bad http://tcts.fpms.ac.be/synthesis/. It is deemed NOT Free with respect to Debian; but to me(ok I am NOT a lawyer) for all intend and purposes it is 'free' enough. It would be great if someone with enough tech knowledge to make it work with N900 -- I can't code to save my life:o

beside, are we not stretching the term of usage a bit by bulk downloading the Google maps?:p

cheers,

Daneel 2011-04-22 02:24

Re: [Announce] modRana: a flexible GPS navigation system
 
So, how would Modrana pefrom compared with CloudGPS once it starts using Clutter?

Thanks for the great work so far :D

Quote:

Originally Posted by MartinK (Post 990768)
And on a related note - after fighting with dpkg for two days, PyClutter 1.0 is now packaged and available from Extras-devel. :) This was a pre-requisite for using the GPU accelerated Clutter GUI library in modRana.

I have not started on on the clutter-accelerated map view yet, but this package means that when I have something releasable, users will have all the needed dependencies.

Technical note - What is Clutter ?
Clutter is GPU accelerated GUI library that enables fast animated manipulation with graphical elements.
Hildon uses a an old version of Clutter (0.8) for all its animations and transitions and Mappero uses clutter for its map view.


skykooler 2011-04-24 00:47

Re: [Announce] modRana: a flexible GPS navigation system
 
Could the EV charging stations be added under POI? (http://talk.maemo.org/showthread.php...348#post994348)

MartinK 2011-04-26 00:43

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by skykooler (Post 991139)
If the Google Traffic tiles were available, you might want them over a map overlay over a sat image.

Good point ! :) I wonder if some weather/weather radar layer or similar exist...

Quote:

Originally Posted by jj0 (Post 991777)
With this I have a question, that I hadn't had time to investigate further... How does modrana handle updating of already downloaded cached tiles?

Currently it doesn't :) This will be added in two forms - interactive update and batch update.

Interactive update means that modRana checks when loading a tile if there is newer one on the tileserver (all tileservers I have checked so far use the "last changed" HTTP header) and replaces the old one if there is.
This should be quite easy to add and would work both when viewing the map and batch-downloading tiles.

Batch update means that modRana checks all stored tiles for updates - this is a bit more tricky becuse it has to correctly generate the URL for all stored tiles, but doable. This should work with both files and sqlite storage (I have already considered the update functionality while designing the sqlite table layout, so there is a saved-timestamp column :) ).

Also, some per layer variables might be needed - the possible traffic layer probably shouldn't be saved to disk at all or have a limited validity - so that users are not confused outdated info.

Quote:

Originally Posted by cheve (Post 993488)
please checkout the license/terms, it does not look too bad http://tcts.fpms.ac.be/synthesis/. It is deemed NOT Free with respect to Debian; but to me(ok I am NOT a lawyer) for all intend and purposes it is 'free' enough. It would be great if someone with enough tech knowledge to make it work with N900 -- I can't code to save my life:o

Well if it could be packaged for Debian I don't see why it can't be also packaged for Maemo. But I don't really feel like packaging it myself - I have no idea how to properly do a binary package. :) Also, did anybody try the mbrola voices ? If so, how do they compare to the default ones in espeak ? BTW, if the mbrola voices do improve espeak output quality, packaging them might be of interest for all the other projects using it (Espeak caller, Espeak clock, Espeak GUI, etc.).

Quote:

Originally Posted by Daneel (Post 993498)
So, how would Modrana pefrom compared with CloudGPS once it starts using Clutter?

Thanks for the great work so far :D

There are basically two things modRana should gain by using clutter - performance and smooth/seamless transitions. Layer blending, rotation and scaling, which are quite "expensive" with software rendering should be almost "free" with GPU acceleration. It will be also possible to properly animate certain operations that currently just switch from one state to another and might be confusing (zooming, rotation).

It should be also possible to do a fake3D view and kinetic scrolling, like in CloudGPS.

The actual performance remains to be seen, but initial testing looks promising.

BTW, I'm going to submit the Clutter interface & offline routing as existing application improvements to the Coding competition. :)

Quote:

Originally Posted by skykooler (Post 994349)
Could the EV charging stations be added under POI? (http://talk.maemo.org/showthread.php...348#post994348)

I have already looked into this - the method using Google maps is very easy to add - just a new POI search preset.
The POI database that can downloaded from the afdc website should also be eventually usable, once the planed support for off-line POI catalogs is added.


Another progress update...
I've got the text wrapping in the navigation info box working. Now I just have to solve some remaining minor issues and do some testing. Next release should be hopefully :) ) coming shortly.

Daneel 2011-04-26 01:06

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 995308)
There are basically two things modRana should gain by using clutter - performance and smooth/seamless transitions. Layer blending, rotation and scaling, which are quite "expensive" with software rendering should be almost "free" with GPU acceleration. It will be also possible to properly animate certain operations that currently just switch from one state to another and might be confusing (zooming, rotation).

It should be also possible to do a fake3D view and kinetic scrolling, like in CloudGPS.

The actual performance remains to be seen, but initial testing looks promising.

BTW, I'm going to submit the Clutter interface & offline routing as existing application improvements to the Coding competition. :)

Another progress update...
I've got the text wrapping in the navigation info box working. Now I just have to solve some remaining minor issues and do some testing. Next release should be hopefully :) ) coming shortly.


That is great news!
Thanks for the quick and clear reply, keep up the good work :)

kureyon 2011-04-26 02:11

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 995308)
Also, did anybody try the mbrola voices ? If so, how do they compare to the default ones in espeak ?

I use mbrola on my desktop. The quality is much better than the espeak (esqueak :)?) ones.

cheve 2011-04-26 03:57

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 995308)

...

Well if it could be packaged for Debian I don't see why it can't be also packaged for Maemo. But I don't really feel like packaging it myself - I have no idea how to properly do a binary package. :) Also, did anybody try the mbrola voices ? If so, how do they compare to the default ones in espeak ? BTW, if the mbrola voices do improve espeak output quality, packaging them might be of interest for all the other projects using it (Espeak caller, Espeak clock, Espeak GUI, etc.).

...

As I mentioned before, I can't code to save my life; but I went ahead to try install it. I found a post on espeakcaller+mbrola http://talk.maemo.org/showpost.php?p...&postcount=175 and some instruction on espeak+mbrola at http://espeak.sourceforge.net/mbrola.html

I did the following to get espeak to use mbrola on the terminal.

1. follow the instruction on sourcforge page to download the mbrola and voice file.

2 extract and copy the mbrola file into /sbin; and make it executable for everyone. I don't know where to put the path info, so I put it at /sbin.:o I use WinSCP to transfer the files over to n900.

3. extract and copy the voice file en1 into /home/opt/espeak/data/mbrola

4. issue command at the x-term to say hello world:
espeak -v mb-en1 "Hello World"

To me the voice sounds better than the standard espeak voice. I have also downloaded and played with the us2 voice as well and I like its voice better still. In #4 step, I had to become root - I would get 'not home user' message; otherwise I got some more serious sounding error about mbrola wrapper error. In both case, espeak use the mbrola voice:)

It appears that if you would add the option of embedding the language voice string(eg. mb-en1, mb-us2); then user can setup espeak+mbrola himself and he would have a better sounding voice for navigation.

Cheers,

cheve 2011-04-26 04:01

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by kureyon (Post 995345)
I use mbrola on my desktop. The quality is much better than the espeak (esqueak :)?) ones.

hi, would you comment/help on what I did wrong with my 'test' install above(post #620)?

woody14619 2011-04-26 05:43

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by cheve (Post 995369)
It appears that if you would add the option of embedding the language voice string(eg. mb-en1, mb-us2); then user can setup espeak+mbrola himself and he would have a better sounding voice for navigation.

First off: YOU ARE AWESOME!
Thanks for the find on how to augment espeak with these alternate voices. I'd thank you multiple times if I could, as the default voice tends to grate on me a bit. :)


As for setting the voice for modrana, you can just change the default setting for espeak. For example, to use us1 (the female voice) after following your download instructions above, simply type:

Code:

cd /opt/espeak/data/voices
mv default default.old
ln -s mb/mb-us1 default

I now have ModRana (and all my apps that use espeak) using a soft female voice with a gentle US accent. Very nice!

FYI: In reply to something someone wrote about festival. Yes, festival is there for the N900, but it's a direct compile of the N820 port, and is slightly busted on the N900. If you tell it to make an output wav file, it works just fine. But if you let it default to piping it out to the system speakers, it sounds like a fly buzzing. (Think super-sped-up alien on the old Star Trek series.)

cheve 2011-04-26 10:59

Re: [Announce] modRana: a flexible GPS navigation system
 
thanks, I only know enough to be dangerous:) and it is great that our espeak maintainer has kept arm version of espeak up-to-date.

What I did seems ok, however, I don't think it is 'clean' enough. I think the mbrola file should be on its own folder instead of the /sbin.

I am hoping for those who have more experiences can help out and to make the install steps better. As indicated in my end of post 620, I got some messages after running the command at the terminal. I think that should be look at; but it is beyond my skill level at this point.

thank you for your code, that means we don't have to bother MartinK and other voice-app author so they will have more time to give us other cool features.

cheers,

woody14619 2011-04-26 20:38

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by cheve (Post 995493)
What I did seems ok, however, I don't think it is 'clean' enough. I think the mbrola file should be on its own folder instead of the /sbin.

I put it in /usr/bin, along with the espeak binary. Figure if the path includes espeak, it would that way also include mbrola. :) /sbin is usually root only, so it may have problems with running things from user if you put i there.

Quote:

Originally Posted by cheve (Post 995493)
thank you for your code, that means we don't have to bother MartinK and other voice-app author so they will have more time to give us other cool features.

I agree. :) But having it as an option as well, like a generic "speech string" would be nice. The default could be espeak "%s" then if you want to customize the voice (or use a separate speech program entirely), it's a simple options setting?

MartinK 2011-04-26 20:51

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by woody14619 (Post 995799)
I agree. :) But having it as an option as well, like a generic "speech string" would be nice. The default could be espeak "%s" then if you want to customize the voice (or use a separate speech program entirely), it's a simple options setting?

Is it possible to specify a custom path to the mbrola voices to espeak ? If so, I could make modRana look into a folder in MyDocs, say MyDocs/mbrola_voices and modify the espeak command-line parameters appropriately if it finds some mbrola files there.

GUI editable espeak string should be also doable :)

cheve 2011-04-27 01:51

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 995812)
Is it possible to specify a custom path to the mbrola voices to espeak ? If so, I could make modRana look into a folder in MyDocs, say MyDocs/mbrola_voices and modify the espeak command-line parameters appropriately if it finds some mbrola files there.

GUI editable espeak string should be also doable :)

imho, a GUI editable espeak string would be a better choice - this way should keep modRana more or less independent to future changes to mbrola or espeak.

cheers,

woody14619 2011-04-27 18:48

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 995812)
Is it possible to specify a custom path to the mbrola voices to espeak ? If so, I could make modRana look into a folder in MyDocs, say MyDocs/mbrola_voices and modify the espeak command-line parameters appropriately if it finds some mbrola files there.

GUI editable espeak string should be also doable :)

The problem is the layout isn't easy to navigate. The files for mbrola themselves live in one of two places, and it's different on the N900 that other places due to opt-ify (/opt/espeak/data/mbrola/ I think). But just having them there isn't enough... You need to exec as well, and the default setup files that come with espeak may need to be tweaked, depending on the version.

Much better to make ModRana more program independent by simply allowing the command string itself to be edited for voice out. This is one of those "set it once" type things that most people aren't ever going to play with, but those that do will want more power than a drop-down.

woody14619 2011-05-03 00:24

Re: [Announce] modRana: a flexible GPS navigation system
 
1 Attachment(s)
Ok... Two problems. :p

One: In mod_voice.py, you call out the voice to use, so even if you override the voice, it defaults back to the language locally set. Also, calling out a mbrola voice from there (changing the voice to mb-us1) fails. BUT if you remove the voice option all together, if it defaults to mbrola via the link like above, it works fine.

The code I removed is in red in mod_voice.py:
Code:

56:  self.espaekProcess = subprocess.Popen(['espeak', languageParam, '-s 120','-m','"%s"' % output])
70: self.espaekProcess = subprocess.Popen(['espeak', languageParam, '-s 120','-m','"%s"' % text])



Two: There's a problem with tile caching in sqlite. :( After about 3000 tiles get loaded, when it tries to load from the sqlite database, it fails and re-downloads. The log keeps saying:

Code:

loading the image buffer from sqlite to pixbuf failed:Unrecognized image file format
And after, it looks like it re-opens the database, then say is sql commit went OK, but if I close and re-load, it fails the same way. Interestingly, when I first start up, since I'm in the same area as the initial tile download (the first tiles the db has), it works fine. Only once I go to the area past the first thousand tiles or so do I get this error. :(

Attached is the run log. If you'd like a copy of the zipped sqlite database set, let me know. It's just under 1M.

MartinK 2011-05-04 00:37

Re: [Announce] modRana: a flexible GPS navigation system
 
First, release announcement:
modRana V0.25-1 is out ! :)
Whats new ?
  • map rotation and overlay should both be much faster & more efficient
  • turn-by-turn messages now use big font & line wrapping
    • when a part of the message is cut off for space reasons, a small scissors icon shows ap - clicking it displays the full message in a notification
    • the previous/next/hide buttons should now be better visible
  • the voice CLI string can be now edited, directly from the GUI :) see below for a howto
  • there is now a POI search preset for EV Charging stations (in the Travel category)
  • some icon updates
  • some bugged notifications now properly show up (POI adding, batch download complete, etc.)
  • various other bugfixes & "backend" improvements

Yeah and sorry for such a long release delay :)

Quote:

Originally Posted by woody14619 (Post 999119)
Ok... Two problems. :p

One: In mod_voice.py, you call out the voice to use, so even if you override the voice, it defaults back to the language locally set...

It is now (V0.25) possible to directly edit the CLI string from the GUI - just go to Options->Sound->Voice and set "Voice parameters" to "manual" :D The string can be directly edited in an entry dialog & there is a button for reseting the string to default value :)

The string can contain various keywords:
%language% - this will be replaced by current language code
%message% - replaced by message without quotes
%qmessage% - replaced by current message without quotes

So basically, if your espeak uses the mbrola voices by default, you can now just remove -v and the %language% keyword from the string. :)

Also, using the %message% variable, prefixes and suffixes can be easily added:
"espeak -v %language% -s 120 -m 'Simon says: %message%'"

And because modRana just executes the resulting string in terminal, the possibilities are basically endless (calling custom scripts, other CLI speech engines, etc.). :D

Quote:

Originally Posted by woody14619 (Post 999119)
Two: There's a problem with tile caching in sqlite. :( After about 3000 tiles get loaded, when it tries to load from the sqlite database, it fails and re-downloads. The log keeps saying:

Code:

loading the image buffer from sqlite to pixbuf failed:Unrecognized image file format
And after, it looks like it re-opens the database, then say is sql commit went OK, but if I close and re-load, it fails the same way. Interestingly, when I first start up, since I'm in the same area as the initial tile download (the first tiles the db has), it works fine. Only once I go to the area past the first thousand tiles or so do I get this error. :(

Attached is the run log. If you'd like a copy of the zipped sqlite database set, let me know. It's just under 1M.

Yep, the "broken" database should definitely help me debug this :) It might help if you also include your current settings file (/opt/modrana/data/options.bin) - eq. I can test in the same environment, settings-wise.

Technically, the database is designed to hold millions upon millions of tiles (it is split to a indexing and storage databases, new storage db is added once the last one reaches about 3.7 GB, thus avoiding the FAT32 file size limit and the separate indexing database provides fast lookup). Of course, the tile storage code is quite complex and the sqlite version shipped with Python 2.5 is quite temperamental, so there is quite likely a bug somewhere.

bipinbn 2011-05-04 06:30

Re: [Announce] modRana: a flexible GPS navigation system
 
@Martin

thank you for the latest update...its much faster and smooth now..

Just wanted to point you to one issue which needs to be sorted out..

When i do a point-point routing and after the route is calculated i go into route info page and see the text containing origin and destination info is messed up. I think reducing the font size to fit in the text should fix this. Please check the screen shot below:

Thanks again for your efforts

http://www.flickr.com/photos/32073914@N07/5685901961/http://www.flickr.com/photos/32073914@N07/5685901961/

woody14619 2011-05-04 19:04

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 999744)
It is now (V0.25) possible to directly edit the CLI string

Awesome. :) I look forward to the update!

Quote:

Originally Posted by MartinK (Post 999744)
Yep, the "broken" database should definitely help me debug this :) It might help if you also include your current settings file (/opt/modrana/data/options.bin) - eq. I can test in the same environment, settings-wise.

Will do, and will PM you with the link when I put it up. Won't be for another 8 to 12 hours though, as I have to wait to be home to put it up. (My wiki is having issues right now, so no remote editing works. :p )

Thanks again for the work on this! It's really nice having all this in one place. Btw: I do plan on trying to get the tile server thing up and running still... I've had a string of bad timing on my end, as I work for a group that's impacted when natural disasters happen. And you may have noted, there's been quite a few lately, both internationally and in the US... :p So once the planet starts cooperating...

Update: Due to a cold, I went home and crashed last night. :P Will set an alarm to remind me to post/pm it tonight before that. :)

Pigro 2011-05-05 11:57

Re: [Announce] modRana: a flexible GPS navigation system
 
quick question: can I derive from the numeric sub-directory naming (under ~/myDocs/.maps/Google maps) the geographic area that the sub-directory relates to?

I downloaded a large amount of tiles, both around various cities and along various routes, in different countries. Unfortunately, these tiles didn't seem to be available to Modrana when I needed them, but that's a different story (good old Ovi maps came to the rescue!).

Anyway, I'm tight on space in my MyDocs partition and I want to strip out any downloaded tiles in Italy, Spain and USA. Can I find out the appropriate folder names (under myDocs/.maps/Google maps) and delete just these specific tiles (leaving any UK tiles I currently have untouched)?

Also, once I know what directories i want to delete tiles from, can I delete the whole directory (such that it will be recreated automatically should I in future re-download tiles for that area) or must I leave the directories in place and just delete their contents?

TIA for any advice (worst case, I don't mind just deleting all content under Google maps - as long as that won't prevent Modrana from recreating the directory structure when needed).

mscion 2011-05-05 12:53

Re: [Announce] modRana: a flexible GPS navigation system
 
Hi MartinK.

Your recent upgrade has substantially improved modRana's performance. It was quite noticable if you are using a poorer internet service and you would like to look at sattelite images. Thanks for your efforts!

I have a question about routing algorithms. When I was testing modRana, I tried to see how well it would route me to work and it actually came up with a route (unlike other naviagtation apps) that put me on a limited access road you would have to go through a security check to proceed. Is it possible to select other routing algorithms in case I do not have proper credentials to proceed! (ie major roads, shortest distance or time)

Thanks again!

Pigro 2011-05-05 13:03

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by mscion (Post 1000596)
Hi MartinK.

Your recent upgrade has substantially improved modRana's performance. It was quite noticable if you are using a poorer internet service and you would like to look at sattelite images. Thanks for your efforts!

I have a question about routing algorithms. When I was testing modRana, I tried to see how well it would route me to work and it actually came up with a route (unlike other naviagtation apps) that put me on a limited access road you would have to go through a security check to proceed. Is it possible to select other routing algorithms in case I do not have proper credentials to proceed! (ie major roads, shortest distance or time)

Thanks again!

options->navigation->online routing allows you some control (avoid major highways and/or toll roads). Also, if you end up facing a security checkpoint, you can of course just back up, drive around it via any available road (using good old eyeballs for guidance!) and then use the modrana reroute function - which will hopefully restore you to the optimal route.

MartinK 2011-05-05 17:44

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by bipinbn (Post 999830)
@Martin

thank you for the latest update...its much faster and smooth now..

Just wanted to point you to one issue which needs to be sorted out..

When i do a point-point routing and after the route is calculated i go into route info page and see the text containing origin and destination info is messed up. I think reducing the font size to fit in the text should fix this. Please check the screen shot below:

Thanks again for your efforts

http://www.flickr.com/photos/32073914@N07/5685901961/http://www.flickr.com/photos/32073914@N07/5685901961/

Thanks for reporting this - looks I'll just have to add some interline spacing. :)

Quote:

Originally Posted by woody14619 (Post 1000201)
Btw: I do plan on trying to get the tile server thing up and running still... .

I don't know if it will be of any help, but I have recently encountered a few new OSM renders:
memphis which is used in libchamplain
QTileRenderer thas is being used by Monav

Quote:

Originally Posted by woody14619 (Post 1000201)
I've had a string of bad timing on my end, as I work for a group that's impacted when natural disasters happen. And you may have noted, there's been quite a few lately, both internationally and in the US... :p So once the planet starts cooperating...

Wow, that sounds quite interesting ! :) Well then, lets hope the planet cooperates, at least for a while. :)

Quote:

Originally Posted by Pigro (Post 1000561)
quick question: can I derive from the numeric sub-directory naming (under ~/myDocs/.maps/Google maps) the geographic area that the sub-directory relates to?

The naming is like this:
z/x/y
Where z is the current zoomlevel, x and y are coordinates in Mercator projection. Upper left corner is is 0,0 and the numbers increase to west for x and to south for y.
You can check out the T@H static map - it shows how the addressing works quite nicely. :)

But back to the question - is it manually possible to remove tiles for a country ? I would say its too much hassle (you would have to get a bounding box for the country on about 8-9 relevant zoomlevels and then remove all the folders that fall into it by hand).

But doing this in an automatic manner would be certainly doable - I will consider this (removing all tiles inside/outside of an area) as a part of the tile-update functionality.

Quote:

Originally Posted by Pigro (Post 1000561)
I downloaded a large amount of tiles, both around various cities and along various routes, in different countries. Unfortunately, these tiles didn't seem to be available to Modrana when I needed them, but that's a different story (good old Ovi maps came to the rescue!).

Anyway, I'm tight on space in my MyDocs partition and I want to strip out any downloaded tiles in Italy, Spain and USA. Can I find out the appropriate folder names (under myDocs/.maps/Google maps) and delete just these specific tiles (leaving any UK tiles I currently have untouched)?

See above - I would say just delete tho whole directory and let modRana re-download. You might also consider using the sqlite (Options->Map->Tile storage for tile storage - it significantly reduces space usage ( 60MB vs 1,8 GB as reported by one user).

Quote:

Originally Posted by Pigro (Post 1000561)
Also, once I know what directories i want to delete tiles from, can I delete the whole directory (such that it will be recreated automatically should I in future re-download tiles for that area) or must I leave the directories in place and just delete their contents?

TIA for any advice (worst case, I don't mind just deleting all content under Google maps - as long as that won't prevent Modrana from recreating the directory structure when needed).

No problem at all, modRana automatically recreates the folder if it is not found.

Quote:

Originally Posted by mscion (Post 1000596)
Hi MartinK.

Your recent upgrade has substantially improved modRana's performance. It was quite noticable if you are using a poorer internet service and you would like to look at sattelite images. Thanks for your efforts!

I have a question about routing algorithms. When I was testing modRana, I tried to see how well it would route me to work and it actually came up with a route (unlike other naviagtation apps) that put me on a limited access road you would have to go through a security check to proceed. Is it possible to select other routing algorithms in case I do not have proper credentials to proceed! (ie major roads, shortest distance or time)

Thanks again!

Quote:

Originally Posted by Pigro (Post 1000602)
options->navigation->online routing allows you some control (avoid major highways and/or toll roads). Also, if you end up facing a security checkpoint, you can of course just back up, drive around it via any available road (using good old eyeballs for guidance!) and then use the modrana reroute function - which will hopefully restore you to the optimal route.

ModRana currently uses the Google Directions online service for routing. It basically just ask for a route between two points with some parameters (car/foot route, highways yes/no, etc.). Quality of the resulting route entirely depends on quality of the geographic data Google has. :)

Support for on/off-line routing based on OpenStreatmap data is planned. Due to the open nature of OSM, it would be then possible to just fix the route in the OSM database and solve such issue once at for all. :)

cheve 2011-05-05 18:02

Re: [Announce] modRana: a flexible GPS navigation system
 
@MartinK, for offline routing, do you mean that you will make use of the MoNav Routing Daemon?

MartinK 2011-05-05 18:14

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by cheve (Post 1000744)
@MartinK, for offline routing, do you mean that you will make use of the MoNav Routing Daemon?

Yep, most probably. Also Monav 0.3, that was released a while ago IIRC finally has some basic CLI routing functionality. So if somebody upgrades the Monav 0.2 daemon that is currently in extras to 0.3, I can start working on support in modRana right away. :)

johnny_knoe 2011-05-11 10:16

Re: [Announce] modRana: a flexible GPS navigation system
 
Hello,
is it possible to import a gps track and re-drive it. I got some nice mountainbike tracks recorded by a friend and i want to drive them by myself.

Thanks!

Garfield007 2011-05-11 10:57

Re: [Announce] modRana: a flexible GPS navigation system
 
Some time ago you corrected this bug but it s back again :

- When i log a track and pause, the time not stop

MartinK 2011-05-12 21:09

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by johnny_knoe (Post 1004051)
Hello,
is it possible to import a gps track and re-drive it. I got some nice mountainbike tracks recorded by a friend and i want to drive them by myself.

Thanks!

ModRana supports displaying GPX tracklogs over the map. To add your own track, place it into one of the folders in /opt/modrana/tracklogs (or you can add a new folder in there). This is a bit cumbersome and will be improved in the future.

The file you have added will show up in the tracklogs submenu in a category corresponding to the folder name.

To display a tracklog on the map, click on its name and click on show on map. You can set color of the tracklog using its tools submenu. :)



Quote:

Originally Posted by Garfield007 (Post 1004074)
Some time ago you corrected this bug but it s back again :

- When i log a track and pause, the time not stop

Thanks for reporting this issue, I'll check it out. :)


All times are GMT. The time now is 10:09.

vBulletin® Version 3.8.8