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)

petur 2011-03-16 08:13

Re: [Announce] modRana: a flexible GPS navigation system
 
great news, looking forward to it.

woody14619 2011-03-16 18:08

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

Originally Posted by MartinK (Post 968571)
Sqlite stores the tiles sequentially, one at a time. But when storing to files, it works asynchronously - many tiles could be in the process of being stored at once, causing significant I/O load (note how the UI is similarly less responsive while the application manager does its I/O intensive work). Solution ? Store the tiles sequentially and possibly don't save tiles once the saving queue hits some upper bound as to avoid a memory leak

Another option: Save them as tiles in the area you would normally save them as tiles, and remember them for ingestion later? Just an idea. :)

jj0 2011-03-18 19:06

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

Originally Posted by MartinK (Post 968571)
New version can be expected soon, once the needless redrawing bug is fixed and sequential file storage is implemented & tested. :)

I'm anxiously waiting for this.

Drove another 1000 km and it was a terrible experience navigation-wise.

When zoomed out to a 4.2km view, it was OK - not perfect, but alright, but zooming in, for instance to see when turns off of highways etc. were coming, the loading would get stuck, phone would slow down, modrana would bomb, and the phone would lock up necessitating a restart. All in all when driving at speeds, it couldn't be used.

I'm hoping your changes will make a significant improvement in memory and CPU usage, because like this it was really a nerve-wrecking experience, sorry to say this... When stopping at a gas-station and restarting modrana it was OK, could look ahead where I was driving but once exceeding 100km/h it was a BIG problem if you wanted to zoom in...

MartinK 2011-03-19 16:00

Re: [Announce] modRana: a flexible GPS navigation system
 
I have done some more field testing and the issue seems to be indeed fixed - it looks like the main culprit was not (only) the old FIFO tile loading but a constant redraw loop with centering.
Screen redraw is only needed when modRana gets a new GPS fix, which happens once a second (the highest frequency supported by liblocation), or when some event requires it (eq. zooming in, dragging the map, etc.).
Instead, the screen was redrawn constantly while centering was enabled, which was probably the cause of all the reported lags and responsibility issues.

tl.dr.:
I'll be doing a release today or tomorrow, once I fix a zooming bug that showed up.

jj0 2011-03-19 18:14

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

Originally Posted by MartinK (Post 971079)
I'll be doing a release today or tomorrow, once I fix a zooming bug that showed up.

Many thanks, I can't wait for this...

whats_up_skip 2011-03-20 03:15

Re: [Announce] modRana: a flexible GPS navigation system
 
How do I work out which version I am running?

petur 2011-03-20 12:24

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

Originally Posted by whats_up_skip (Post 971371)
How do I work out which version I am running?

How I do it: open the application manager (where you install/update/remove apps) or Faster Application Manager. Select Remove App and find modRana in the list. FAM will show the version number next to it, in the official App Man (HAM) you will need to select modRana (and of course click NO on the question of uninstall :) )

MartinK 2011-03-20 14:06

Re: [Announce] modRana: a flexible GPS navigation system
 
V0.24-1 is out and it should be hitting the repositories any moment now :)

Whats new ?
  • fix needless redrawing in centered mode slowing down map rendering
    This should fix the reported slow map redrawing while moving.
  • fix GUI not redrawing after pressing buttons
    This should fix the slow GUO response - basically, the screen was not redrawn right away after clicking a button.
  • new way of loading tiles which gives priority to currently visible tiles first
    One of my previous posts describes how this works. :)
  • lowered default number of automatic tile download threads to lessen I/O load
    New default is 10, from previous 20.
  • new info menu with an About submenu showing current version :)
    Well, finally. :D Expect to see more items soon in the "info" menu.
  • better N900/Maemo 5/Freemantle integration
    • proper App-Menu which enables fast access to often used features (centering, map rotation, etc.)
      What do you think about this ? :) What else should I add ? As the space is limited, I'm thinking about making the content of this menu customizable.
    • volume keys are now used for zooming by default
      This can be disabled in options->Keys->Device buttons.
    • modRana now uses Hildon banners for notifications
    • zoom feedback using a Hildon banner
  • sound can now be turned ON and OFF
    There is currently no separate setting for voice output as voice output is currently the only sound output modRana does.
  • saving of automatically downloaded map tiles can be now turned off
    My testing showed it does not make much difference though...

cheve 2011-03-21 02:40

Re: [Announce] modRana: a flexible GPS navigation system
 
love the AppMenu and the use of volume key for zoom.

cheers

skykooler 2011-03-21 18:53

Re: [Announce] modRana: a flexible GPS navigation system
 
Nice, but I can't wait for smooth zooming! Also, there is still about a half-second delay between first tapping on the screen and the buttons appearing.


All times are GMT. The time now is 07:25.

vBulletin® Version 3.8.8