View Single Post
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#242
Originally Posted by MartinK View Post
OK, I'll add 1km option, maybe also 2km ? I checked if it's possible to use sub kilometer values but an implementation detail currently prevents this. Concerning the 1 tile corridor, I'll have to check the source, its been a while since I wrote that part of the code
Thanks. It seems there's room for both, so that would be great.

Actually i was looking at the code on my flight home and it seems it uses powers of 2 to specify the range around the origin to download. Based on that it seems that only 2.5 km is available, but it's likely i missed something. Could you please explain what that power of 2 number is and how one could specify an arbitrary distance? It was trivial to add the button to request 2.5 km but i haven't had a chance to test if it actually works. It does make me wonder if the range is in km--it almost seems like it might be instead some multiple of the current map scaling. That would make my experience with downloading tiles make more sense.

Yeah, it is quite confusing. This is because it is quite time consuming to check which tiles are available and which need to be downloaded. ModRana currently just lists the maximal number of tiles that would be needed, thats why there is the ~ before the number
I changed the size estimation function for the next version so that it removes tiles that are available, so it should show the number o actually needed tiles after the tile estimation job finishes.
Hmm that's not really what i meant but that is a good improvement.


There is setting in options that disables the automatic tile download...but I'll have to check if it's actually working/implemented
woody's interpretation of what i was trying to say is right. The disabling of downloading works great, and i like having it. What i'm looking for is a way to disable certain levels of zoom that i don't use.

The activation should be much easier when widgets finally become clickable, etc.
Regarding the tracklog selection, what about a longclick near the track + "do you want to select track XY"popup ?
Sure, that would be great. If it's close enough to the track it would be better from a UI standpoint to skip the query.

The next version will have a logging feature (basically stdout piped to a textfile in MyDocs). This may help to find the root cause of the lockups. BTW any guesses why such hard lockup can even happen ? IMO there is a hardware watchdog that is checking multiple device parameters and should prevent this or just restart the device...
Should be, but i can get the same results with MAME (others have verified that), so the watchdog isn't doing its job or something. There are two different problems--one is that the ui gets frozen in whatever state it is in. The other is that the device crashes and shuts down, so maybe the watchdog catches it sometimes.

There is definitely room for improvements in power-saving.

I was thinking about skipping the drawing loop if I can detect that the screen is off (it currently redraws even when the screen is blanked - as do many other apps IMO). As drawing and module state updates are two separate loops, logging etc. should still run normally.
Please. Also, if this fixes the lockup/crash problem it will be a bonus.

I could also add less pretty but more power efficient optional drawing methods (like not redrawing the map while it's being dragged, moving the map just once a while (like in mappero), etc.).
I don't use the "follow location" mode, so that's not important to me, but sounds like a good idea.

I really appreciate your responsiveness to issues and work to improve modRana.
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 

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