![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
BTW, I will be moving the N900-default tracklog folder from the current /opt/modrana/tracklogs to something like modRana_tracklogs in MyDocs in a near release. I'll add migration code to the installation scripts so it should be quite seamless. |
Re: [Announce] modRana: a flexible GPS navigation system
Quick feedback on new map rotation feature: I gave this a try yesterday (while walking). The map appears to rotate well according to direction of travel (even at a fast walking speed) - however the route I was following got a bit confused - it didn't seem to be rotated by the correct amount to keep it aligned with the actual road I was on. I only tried briefly, so I'm not sure whether the route (a) rotated, but by an incorrect amount or (b) didn't rotate at all. Once I switched back to fixed map orientation, the route immediately realignd.
The good news is that I gave the "rerouting" a pretty good workout, and it performed flawlessly (and the x2 map zoom made me very happy!!). |
Re: [Announce] modRana: a flexible GPS navigation system
As a bicycle user, I'd like to use modrana when riding, in order
either to keep the route and to check the speed. The latter is an issue, because: 1. The speed value isn't correct. The ratio between the value detected by the speed meter of my car and the one displayed by modrana is about 1.8. 2. The speed is displayed only in the "bicycle" mode. Even if it is OK when I'm running my bicycle, it should be useful to be able to read the speed in the other modes, too. 3. The map would be more readable if I could switch off the blue boxes "activate a track to show route profile" and "activate a track to show rem. length", as in all the other modes (which, on the other hand, don't show the speed). Last, but not the least, I want to thank Martin for his wonderful job: congratulations! |
Re: [Announce] modRana: a flexible GPS navigation system
Last night i decided that i wanted to cash the map tiles for the area around where i live. I told it to go 2 up and 2 down in a 10km area. It said it needed ~24,000 tiles. I then "click to calculate disk space needed" and it said it would take somewhere around 60mb. It was going slow and so i let it sit overnight to download. This morning my /.maps folder is 1.8gigs. This is just slightly more than the 60mb i was expecting. And that's not even for that many zoom levels or a very large area.
I'm kinda of glad i didn't tell it to download the max up and down in the 160km radius i wanted, as that told me it needed 1.4 million tiles. Based on the size of my directory that would have put it at a 104GB download just for the 2 up and 2 down, let alone with max. For some reason this doesn't sound right, as maps for the entire world for ovi maps doesn't even take that much space. Actually, for 1.8 gigs i could have downloaded the whole western US, not just the 6 mile area around my house. Any suggestions how how to fix this disk space issue, as i would like to get a 160km radius, would be great. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Oh, and some quick feed back:
1) I love the app. however i would really like it if when i pressed the menu and gui buttons it didn't take me off of centered map mode and make the map stop moving with me. Kind of annoying to hit "Reroute" and then have to hit the center button again. 2) When i hit reroute when i am on the highway, it puts the start point as where i was when i hit the button, but it doesn't count me as having arrived there, and thus starts counting UP in miles till i reach my point (because i am driving away from the point it wants me to be at). So i have to wait till i am closer to what the next step would be and then i have to restart the navigation "at the closest step" in order for it to start giving me proper directions again. I even tried setting it to 500m "reach distance" to see if it would count me as having reached, but because i am moving away from it to start it never considers me having arrived. 3) It would be great if i could turn of those "activate a track" dialogs. It would also be great if they were themselves buttons that could be pressed that would do what they say on them, and would then make them disappear and leave just a small button in a corner somewhere that said "stop" to stop the track. 4) Actually, it would be really handy to have a "start/stop a track" button on the main screen. It would be a great replacement for the full screen button (and the full screen button could be moved to the "title bar" menu (as in i click on "modRana" at the top and a menu drops down from the top giving the full screen option. Then perhaps just have a shortcut key that restores it). 5) A list of the current short cut keys accessable from the menu would be geat. Like a "Help/About" button right next to "log a track" in the main menu would be a great addition. 6) I would love to be able to change the time display to 12H time instead of 24 hour time. 7) I would love to be able to change the color of the text on the navigation read out. With the current color scheme i have to get about 4" from the screen to read the mile count to the next point. 8) It would be awesome if the map was on top of the route and tracking lines. That way if i want to look ahead on the map for the names of the upcoming roads/highways i can tell what they actually are. As it is the dark blue route line covers all the names of the roads. 9) Is there a way to get a text read out of the turn by turn? This would help alleviate some of the annoyance of #8. 10) If there is any way to boost the frame rate that would be awesome. Thanks for all the hard work your doing on this. I love the app and the espeak integration for the turn by turn. The loads of features is awesome. Great job :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
http://en.wikipedia.org/wiki/Data_cluster Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
I think I'll disable the "activate" widgets in the meantime. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Frankly, I cant find an easy fix to this right now,that would not broke some other use case. I could trigger skipping the start when the distance counts up, but that could also trigger on some larger intersection loops, etc. What about:
Quote:
BTW, they already work:
Quote:
BTW, I like the drop down menu idea. It could be done like this:
Quote:
Some sort of built-in help/documentation should be added, some features are getting quite complex. Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
So, what can be done:
IMO, a transparent single-file-fs proxy linked to the .maps folder would be probably the best. |
Re: [Announce] modRana: a flexible GPS navigation system
MartinK - I tracked down the bug which was preventing search results from working in australia, and attached a patch for it to
http://modrana.org/trac/ticket/21#comment:2 I'd love to see this included in the next release :) |
Re: [Announce] modRana: a flexible GPS navigation system
V0.15-2 is out. What's new ?
I have been using modRana over an unstable GPRS connection for the past few days and the blocking while waiting online service results is really annoying. So, in the next version, there should finally be the asynchronous online services usage - modRana will show some sort of an overlay with a cancel button while waiting for the result of an online query. |
Re: [Announce] modRana: a flexible GPS navigation system
thank you for making this app :)
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Looking forward to trying out the new build! Side note: I hit the "activate all tracks" button (as button mashing is my primary means of learning how things work), and then when i exited to the map all of the buttons were gone and i had to kill the program from the power switch as it was non-interactable. And since then the screen is only black when i load the program. Any suggestions on how to get the screen back and the program usable again without having to purge-reinstall? :) |
Re: [Announce] modRana: a flexible GPS navigation system
Have to say, I'm loving modRana, and will probably be using it from now on. Two things that are big on my list though:
1> Is there any way to save the current location (or enter a searched for location) as a POI? I know if I search for a place, like a bar or a restaurant, I can save that as a POI. But if I search for an address, or want to record my current location as a POI, there seems to not be a way to do it. 2> Is there a way to specify a filter for eSpeak? I could put one in myself I suppose by making eSpeak a script that filters it's input and feeds it to the real eSpeak executable... but that's kind of hackish. :) I'm just a little distracted by "Turn right on Main Saint" and "Turn left on to Hickory Doctor" (for Main St. and Hickory Dr. accordingly. ;) Having a way to pre-filter the speech just for modRana would be best, since sometimes I'll want Dr. to mean Doctor (like when announcing a caller). Overall though, this is a great program. It's a little complex at first, but once you get the hang of it, it's really quite simple to navigate and get it to do basic things you want it to. And it's super speedy/non-CPU-intensive compared to most of the other nav systems for the N900. Thanks for the app! |
Re: [Announce] modRana: a flexible GPS navigation system
Quick reply...
Side note: I hit the "activate all tracks" button (as button mashing is my primary means of learning how things work), and then when i exited to the map all of the buttons were gone and i had to kill the program from the power switch as it was non-interactable. And since then the screen is only black when i load the program. Any suggestions on how to get the screen back and the program usable again without having to purge-reinstall? Move file /opt/modrana/data/options.bin somewhere else, and start modrana. All options reset, all problems go away. |
Re: [Announce] modRana: a flexible GPS navigation system
MartinK - thanks for implementing my patch :)
Quick question - what's the easiest way to checkout the latest modrana sources? I had a bit of a search through your trac site but couldn't find instructions. |
Re: [Announce] modRana: a flexible GPS navigation system
FYI, on the discussion about setting up local on-device routing, I thought you may be interested in this article about how someone got a set of routing programs setup locally on the N900. I'm betting with a little tweaking it could be turned into a package that would allow users to setup a routing server on their own device. May not be the "best" solution, but better than nothing when there's no network available.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
There are probably some DBUS commands for interacting with the media player, so something like pausing playback when modRana activates espeak could be doable. Quote:
Then either leave the closest on, if you are moving in the opposite direction switch to the next. Quote:
Quote:
The routing takes one-way routes into account, you can see this when you swap the start and destination, the resulting route is often different. When you just reverse the route, modRana could basically send you to one-way route from the wrong direction. Also, if your route includes a highway, following it in a reversed order is NOT a good idea. :) Quote:
Quote:
The current workaround is to move/delete /opt/modrana/data/options.bin file, as this is where all the options are stored. I have recently found another tracklog that is causing this, so I can reproduce this and look what goes wrong. I hope I can find the root cause this time. Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
I use a SVN repository to manage the project sourcecode, but direct anonymous read only access to the repository is unfortunately not working. The SVN repo together with the trac instance is hosted by our faculty's NLP lab, I'll ask them if they can enable it. The repository can be browsed through the trac web interface, under "Browse source", the main branch is named "trunk". You can download the current revision as a zip file using a link on the bottom of the source browser page :) Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quick reply...
"It is going to be completely revamped (sqlite for storage, configurable categories, tags, etc.), and better integrated with other features." I don't like SQLite... because I cannot read sqlite files by vi Again, thank you for the application! |
Re: [Announce] modRana: a flexible GPS navigation system
Hey MartinK have you seen this yet?
http://blog.mikeasoft.com/2010/09/24...en-street-map/ Could be some useful stuff in there. |
Re: [Announce] modRana: a flexible GPS navigation system
One problem I've noted is that most of the data-entry screens (e.g., route destination address) seem to use a black font. That doesn't work so well against the 900's default black background...
|
Re: [Announce] modRana: a flexible GPS navigation system
Dears,
I'm located in Egypt, any idea if this will work with me or not? |
Re: [Announce] modRana: a flexible GPS navigation system
Sure it will work, in any country.
Just get GPS lock, open the application, choose in the options->map what tiles (images) you want to use (Google, OpenStreetMap, Google Satellite, Yahoo Satellite, Virtual Earth... wide choice) and then try to zoom in/out: either (if you have Internet) modrana downloads needed maps automatically, or you need to attach device to computer, in mass storage mode, and use PC to download the tiles: http://wiki.openstreetmap.org/wiki/C...le_downloading At first, I just manually saved images from http://tah.openstreetmap.org/Browse/tile/ZOOM LEVEL/X Coordinate/Y Coordinate/ but recently, I started to use JTileDownloader OpenStreetMap can have not good coverage in some areas; its advantage is the fact that you can personally make the map better, instead of filling in feedback forms to a company like Yahoo or Google. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Without using a db of some sort, I would either have to dump and load the whole datastructure each time, which could be slow and adding new features would be problematic in regard to already stored user data. Also, If I saved each POI as a file, I could hit the cluster issue, as with the tiles. Of course, there will be CSV export/import for backup and db content examination purposes. Quote:
Quote:
Spatialite is available from the repositories. IMO, you basically load some OSM data the database, perform some special queries and you get the route as result. Unfortunately, there seems to be a bug in the current Maemo version of Python, that makes it unable to load sqlite extensions. There also seem to be Python-bindings for Spatialite, but they are not in the repositories and would need to be packaged first. Also, there is the question if they would work with the current version of Python. There is also the possibility of running some sort of a separate routing daemon, with the added benefit of sharing the routing data between the numerous navigation apps (as mentioned by Woody in his comment to that article) on the N900. Concerning Memphis, the vector map drawing library, its currently not in the repositories. But if someone packaged it and its Python bindings it could be IMO quite nicely integrated with modRana. Vector map support would mean (simple) maps of large areas from small OSM vector files. An (old) version of libchamplain is in the repositories, but unfortunately without its python bindings. It could theoretically be used as an alternative map drawing widget and could be faster as the current modRana implementation because libchamplain is based on clutter which uses OpenGL ES for rendering on the N900. Any interested Packagers/PyMaemo people ? :) |
Re: [Announce] modRana: a flexible GPS navigation system
First off, i want to say that modRana was an essential tool for the Boston-to-Canada bike tour i just completed. I decided it fit my use case better than Navit because i was pregenerating routes in Google Earth/maps and needed a lightweight app to display the track overlaid on a map with several different map options for different tasks (i.e. satellite images for finding good campsites, topo cycle map for seeing hilliness, OSM for seeing road names and features). So, thanks for your work!
However, all wasn't peaches and cream:
Due to these issues, i used the gpsrecorder app to track my route instead of modRana, and that worked okay. Quote:
Thanks again for your work on this. It's fantastically useful for this kind of usage! |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
I have just sent the newest V0.16-1 to the autobuilder, the main feature is, as promised, the experimental sqlite tile storage support! :)
What is this good for ? As mentioned earlier in this thread and also in a related Mappero thread, tile take up more space than expected because each tile, even if only 500B in size, takes a whole 64kB cluster. When using sqlite for tile storage, there are basically just 2 files per layer, not the usual tens of thousands of files and folders. How to enable sqlite tile storage ? Go to options->map and switch tile storage from files to sqlite. Is it stable ? It seems to work OK for both normal automatic tile download (including overlay) and batch download. But some errors can still can show up, so please report any unusual behavior when using this ! :) What about the 4GB maximum file size limit on FAT32 ? When a size of the storage database reaches 3.7 GB, a new one is added. The is no limit on the number of storage databases. How does it work ? The tiles are stored in a sqlite database as blobs. There are two types of database files, lookup.sqlite and store.sqlite. The lookup file stores an database that indicates in which store the requested tile is. The store file has the actual data. Multiple stores should be numbered in ascending order, starting from 0: Code:
store.sqlite.0 Code:
table tiles (z integer, x integer, y integer, store_filename string, extension varchar(10), unix_epoch_timestamp integer, primary key (z, x, y, extension)) Code:
table tiles (z integer, x integer, y integer, tile blob, extension varchar(10), unix_epoch_timestamp integer, primary key (z, x, y, extension)) Both also have a table called called version which has an integer column called v. There is a single 1 inserted, which indicates the current version of the table. These database files are stored in the corresponding layer folders. When looking for a tile in the database, modRana first asks the lookup database and when it gets an answer, it asks the store described in the store_filename for the given coordinates. Could this be used by other navigation apps ? Why do you think I just roughly described how it works ? :D |
Re: [Announce] modRana: a flexible GPS navigation system
Great job; it's nice to have a workaround!
I haven't used modrana this week until today. I only had it open for about 10 minutes (it was still trying to get a GPS lock) when it locked up the device while the screen was blanked, similar to what i described above in my previous post. Is nobody else having trouble like this? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Two small things to consider: 1> When presenting "miles until turn", maybe the user would prefer only a few digits of precision? 0.34 miles is fine, vs say 0.3405938451 miles. :) 2> Another e-speak filter for numbers... apparently "Turn right in 0.3452943523 miles" turns into "turn right in miles", vs "turn right in zero point three four miles" |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Progress update
I have been improving the sqlite tile storage integration and also took a look on the batch download feature. The old implementation did not reuse open download socket which was slow and inefficient, so I integrated the urllib3 which enables socket reuse. I got a bit entagled in all the threads used to handle all of this (there is the main thread, the thread that is running the download threads and a consumer thread feeding tiles to the sqlite database as it cant be used by multiple threads) but it seems to be finally sorted out. Next release should be therefore coming quite shortly. Quote:
Quote:
Quote:
Quote:
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. Quote:
Quote:
Regarding the tracklog selection, what about a longclick near the track + "do you want to select track XY"popup ? Quote:
Quote:
Quote:
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. 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.). Quote:
If you just want to get rid off the files and don't mind the other apps, just manually remove all the numerically named subfolders in the map layer folders. Quote:
|
All times are GMT. The time now is 13:06. |
vBulletin® Version 3.8.8