![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
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:
Quote:
Quote:
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:
Quote:
|
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:
NOTE: Once clutter support is in, things like smooth zooming & rotation, fake 3D and mindbogling tile loading effects will become possible. Quote:
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:
Quote:
Quote:
Quote:
in 50 meters <-- blank space ---> 50/120 km turn right to the Sesame street Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
What about a stopgap - an on-screen button that instantly launches the app menu ? Quote:
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:
Quote:
|
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? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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. |
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 ;) |
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.
|
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 |
Re: [Announce] modRana: a flexible GPS navigation system
to uninstall and remove all settings etc as root:
Code:
apt-get purge modrana |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
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:
Quote:
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:
Quote:
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. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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... |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
beside, are we not stretching the term of usage a bit by bulk downloading the Google maps?:p cheers, |
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:
|
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)
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
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:
Quote:
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:
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. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
That is great news! Thanks for the quick and clear reply, keep up the good work :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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, |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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 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.) |
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, |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
GUI editable espeak string should be also doable :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
cheers, |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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. |
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]) 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 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. |
Re: [Announce] modRana: a flexible GPS navigation system
First, release announcement:
modRana V0.25-1 is out ! :) Whats new ?
Yeah and sorry for such a long release delay :) Quote:
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:
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. |
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/ |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
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. :) |
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). |
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! |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
memphis which is used in libchamplain QTileRenderer thas is being used by Monav Quote:
Quote:
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:
Quote:
Quote:
Quote:
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. :) |
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?
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
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! |
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 |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
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:
|
All times are GMT. The time now is 10:09. |
vBulletin® Version 3.8.8