![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I just did Code:
git clone If something is wrong with downloading/displaying tiles then maybe something is wrong in your ~/.modrana folder - i.e. map_config and user_config. |
Re: [Announce] modRana: a flexible GPS navigation system
I have removed the old version of modRana and now solved the issue above by removing my .maps file.
Tiles are now redownloading and populating the screen. I will give it a test over the next few days to see how it compares. I don't seem to be able to find my custom orange theme any more so i will have to remember how I did that. Or can I request an orange theme? Like the red but with all red components the same orange as N900 digital nature theme. |
Re: [Announce] modRana: a flexible GPS navigation system
Some quick feedback can't seem to get offiline routing working again. Installed the monav_data folders as required but no luck.
Anyway to debug whats wrong? Google routing seems fine. Also is there a way to disable the double tap zoom feature? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
There is no error output it acts as if the route button isn't there and tapping route again just zooms the map.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
ImportError: No module named google.protobuf,internal. https://pastebin.com/68LrRJx0 Not sure if double tapping the route button causing zoom is intended behaviour or not. |
Re: [Announce] modRana: a flexible GPS navigation system
Hmm... How exactly are you trying to run it? I think there is something wrong with the pathes - i.e. it is trying to run .py files from on-device and from SD card... Could you just git clone it to eMMC and then run it...?
|
Re: [Announce] modRana: a flexible GPS navigation system
modRana 0.51.1 has been released!
So, we have finally a new modRana release - this time with quite some highlights! :) The OpenRepos package has already been updated and the Jolla Store/Harbour one has been submitted for QA review. Update: ModRana 0.51.1 has passed the Jolla Store QA. :) Turn by turn navigation support The long asked for turn-by-turn navigation support in the Qt 5 GUI on Sailfish OS is finally here. To use it just get a route and then press the navigate button. http://modrana.org/images/qt5_gui/mo...navigation.jpg A turn by turn navigation overlay will be displayed (includes distance to next turn, turn icon & turn instructions) and modRana will start following the route. This includes indicating the next turn with a red circle and checking if the route is being followed. If it looks like the route is no longer being followed, modRana will automatically request a new route from current position to the destination. Also in soma case (currently just when using the Vallhalla based routing provided by OSM Scout Server) current heading will be taken into account when rerouting and routing from current position to a point on the map. This should help avoiding needless U-turns as a route following the current heading will be preffered. On a related note - the turn icons come originally from Poor Maps, which did a really good job gathering a set of CC0 licensed SVG icons mapping all relevant Valhalla turn types. The eixstence of these icons made the turn icon display support very easy for modRana, so thanks yet again to otsaloma - you rock! :) Very preliminary turn by turn voice output support This version of modRana contains some very preliminary turn by turn instructions support. Just contemplate the following instructions to see how preliminary this is: To enable the preliminary voice output, you have to install: - portaudio from OpenRepos - espeak from OpenRepos - gstreamer1.0-tools from the cmdline as root: Code:
pkcon install gstreamer1.0-tools Local POI database In this release the POI database also makes it's debut - it was pretty useful to my when traveling through Japan in the summer, so should hopefully be useful for other modRana users as well. :) The general principle is simple - long press a point on the map, press the "Point info" button and select to save the point to a local POI database. POI name, description and category can be set before the point is saved to the database. Online/offline POI search results can be saved to the local database as well. Saved POIs can be browsed by category and centered on the map. Saved POIs can be also used as the centrail point for local search. In is not currently possible to delete stored POIs, but this slight omission should be fixed soon in one of the upcomming releases. It should be also possible to use POIs as a target for routing in the future as well. Fixes and imporvements This modRana release also contains a bunch of various smaller imrpovements and fixes. ModRana should now look much better on very high DPI devices, such as the Sony Xperia X. Also modRana now supports the Valhalla based OSM Scout Server rotuing, so adjustments are no longer needed when OSM Scout Server is installed and used with the default configuration profile. Two new layers have been added - OSM Scout Server provided & offline rendered car day & night optimized layers. Changelog Code:
- turn-by-turn navigation support in Qt 5 GUI |
Re: [Announce] modRana: a flexible GPS navigation system
Thanks for...
|
Re: [Announce] modRana: a flexible GPS navigation system
@MartinK, thank you for the update, looking forward to test it. ESpeak already amused everyone this morning :)
Its great that you integrated POI support. Other map clients do have the same in TODOs, as far as I remember. Regarding POIs, I do wonder if we can keep it in some backend that would be used by all if the same notation is followed. For example, as a part of our address books with all phone numbers and such. All devices do have address books and they could be easily shared between devices. Just an idea that maybe worth of thinking about when we get to the stage where all other issues are resolved ... |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
If we can get them to cooperate or the affected area is one where community can effectively contribute (eq. not being blocked by closed components & actually having a maintainer that can review and merge PRs) - that would be less hopeless. :) Quote:
As for sharing the database, there are a couple issues worth considering: - who else would be interested in sharing the POI database ? (eq. so unnecessary work is not done if no one will use it) - the easiest way might be using the same SQL schema and a common location for the database, it might even work with concurrent access - but that effectively locks the schema in stone - it's really simple at the moment (basically just name, description, coordinates, category) and might use some extending (phone numbers, elevation, address, opening hours, email address, website, twitter handle, etc.) - it's actually a question if it needs to be an sqlite database at all - it just seems like a pretty big overkill for the few points people are likely to store & enforces IMHO unnecessary rigid schemas I've had quite a good experience with BlitzDB in my experimental Twitter client - it's basically a pure-Python JSON document database. I've been feeding it with thousands of tweets and it works just fine, so it should be also able to handle a few POI as well. Of course unlike sqlite it kinda expects the app using it is also Python or can talk to Python in some capacity. I guess alternative solution could be if modRana could work with multiple POI database formats, including one shared with other apps. The user might need to specify where new POIs should be stored (local/shared), but it should be possible to agregate the multiple POI databases to a single view. Or OSM Scout Server could provide a REST API for storing & retrieving POI that that arbitrary apps could easily use. Now with socket activation it would be more useful than ever. ;-) I guess we will see, but certainly something to think about. :) |
Re: [Announce] modRana: a flexible GPS navigation system
@MartinK, posting at 03:52? That's what I call dedication! (Or insomnia :))
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Tranlations!
It is now possible to translate more or less everything visible in modRana and the strings can be translated via Transifex: https://www.transifex.com/martink/modrana There are already very active translation effeorts for Swedish, Spanish, French and Czech (thanks a lot to everyone involved! :D) and more translators are definitely welcome! :) I've added some languages based on download statistics from OpenRepos (Jolla Store unfortunately doesn't provide any such information :P) and if the language is not yet listed just request it and I'll promptly add it. Same thing for adding translators. :) For anyone wanting to experience modRana in their native language (well, as long as your native language is Czech, Swedish, French or Spanish ;-) ), there are testing packages available from OBS: http://repo.merproject.org/obs/home:...rmv7hl/noarch/ Translations will of course also start to be a part of the "official" builds going to OpenRepos and Jolla Store in the near future. :) Decomissioning the old Qt 4/QtQuick 1.1 GUI The old Qt 4 based QML GUI was originally written for the Nokia N9/N950 and was the first non-GTK modRana GUI. Later on I've also got it running on the N900 with a horrible series of hacks. Unfortunately the Qt 4 GML GUI never really reached feature parity with the original GTK2 GUI and I have basically not touched the code in ages, as I've focused on bringing the Qt 5 based QML GUI to feature parity and beyond. So I want to ask - is someone still using the Qt 4 QML GUI on the N900 ? That's at the moment basically the only platform where the Qt 4 QML GUI might be able to run, as the desktop version of the hacked together Harmattan QML components and Qt 4 version of Pyside have long ago bit-rotted away on the desktop. If it turns out no one is using the old Qt 4 based GUI, I'd like to scrap it, making it possible to remove a sizeable ammount of old unmaintained code from modRana. Related benefits would also be general release-related code simplification and removal of all the Qt 4 related dependencies the modRana package on the N900 drags in & smaller N900 package overall. Looking forward to your feedback! :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I also think you should remove the sv_SE files as they are obsolete. If I got it right, it's the sv files from transifex that are being used? Edit1: When I removed all the sv_SE, .ts and .po stuff, also the IconGridPage translated nicely. :) Edit2: Strings missing in TracksCategoryListPage...
String missing in InfoAboutPage... |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I can say that I only use the GTK gui on n900 as I'm not so satisfied with the QML (sorry :) ) |
Re: [Announce] modRana: a flexible GPS navigation system
@MartinK
I suggest to setup a separate thread for this with a poll so to keep information well organized. On my side, I'm using N900 with ModRana on a daily basis with the GTK interface Thanks for ModRana and your ongoing support for it! |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Is there a chance for an updated version for Harmattan in the future?
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
So at this point Harmattan support would effectively require maitaining a modRana fork and I'am afraid I don't have the capacity for this. So unless someone else picks this up - it's certainly doable if you can code Python & QML, have the Harmattan SDK for package building and enough time - it's unlikely there will be aby updates for the modRana Harmattan package. |
Sadly I have already expected this answer and I can totaly understand it. But since I really like my N9 as my main phone I thought it is worth to ask.
Thanks for your great work, I am also using it on the Jolla. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
And thanks to MartinK. |
Re: [Announce] modRana: a flexible GPS navigation system
Believe it or not, after managing to ignore it for almost 8 years I finally got around to trying modrana, mainly due to this recent thread: [1]
My first impression after approximately two hour of trying is: I think I like it. However, there are two things that bother me: 1. I can't find a way to interactively change routing tracks. I'm using the bicycle setting and I tried routing from my home to my office, and modrana shows me exactly the route I usually take. However, that route contains a path through a forest that even in good weather conditions requires some modest mountain biking skills (S2 single trail [2]). There is an altenative route that doesn't require any skills, but I don't know how to change the suggested route. I'm using offline routing, in case that info is important. And I'd like to keep it that way. 2. English pronounciation for Geman street names is entirely useless. I wouldn't have recognized my own street name if it hadn't been written on the screen. Is there a way to tell espeak to use German pronounciation? I have zero knowledge about espeak. Of course, I can just turn voice off in modrana, but I'd find it rather useful iff I can understand what it's saying. [1] http://talk.maemo.org/showthread.php?p=1540375 [2] https://wiki.openstreetmap.org/wiki/Key:mtb:scale |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Re espeak-English vs German: no wonder :) . There are better TTS engines available, some with German support. But they would have to be interfaced from modRana as well as selection of language for routing instructions. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Of couse I can just decide to ignore instructions if I know the route. But then I don't need routing at all. If I don't know the route then unexpectedly ending up on an S2 trail is not an option. I might be riding my road bike or I may have company that can't handle S2. I'll have to plan the route in advance anyway, but I don't see me remembering which instructions to follow and which to ignore on a 100km tour. So planning the route the way I intend to ride it is imperative. Quote:
So it would be nice if one could tell modrana to use that switch. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
The routing engine also supports waypoints which would help in your case. Waypoints are not supported by modRana nor Poor Maps. Again, I would suggest to open issues for this. Waypoints would allow you to shape the route to your liking, if you know the sections to avoid. I have not imported elevation data that can be used by Valhalla to calculate the bike routes. Brief look indicated that it would require some additional service, but I think it should be possible. Quote:
Thus, language selection has to be programmed against router and available TTS engines. This has been done for Poor Maps, not modRana yet. As for street names that's the next problem. When you have spoken language English and get German street name, this may not sound as good. German/German should be OK. In this case, at present, the best TTS would be picoTTS (only female voice) that is supported by Poor Maps. In general, TTS is a weakly supported by Linux (maybe except MaryTTS which is Java-based engine). There is some work done by mimic, let's hope the language coverage will improve. PS: espeak is really bad in terms of quality, but has the largest number of supported languages. Hence its frequently used when programming as the first engine and later mainly for amusing kids. |
Re: [Announce] modRana: a flexible GPS navigation system
Thanks for all the feedback sulu, it's much appreciated! :)
Now for the individual issues: bad route/route with bad segments As rinigius already mentioned, waypoints are a reasonably good solution. Valhalla and many online services support them and modRana actually does too! So what's remaining is support in the (Qt5) GUI, which is definitely planned (and quite a priority actually). There are also other (possibly complementary) options. One of them is returning multiple routes (from different backends or with different settings) and letting the user select one. Also it could be possible to provide the router with more data and increasing the chance of a good route being found. This could be combined with the first option. And if you are on a bad route or conditions change - modRana does have automatic rerouting and it should be enabled by default. turn-by-turn voice issues There are multiple issues and ongoing efforts to fix them. As for the voice quality overall, rinigius did a significant amount of work in this area (thanks! :)) by porting multiple new & likely better than espeak TTS engines and then helped them to be used by Poor Maps. I should be able to reuse much of this in modRana, but this requires changes in the turn-by-turn navigation logic. At the moment voice messages are generated and "spoken" immediately when modRana detect they are needed. To make use of the new TTS engines and the need for people to install obscure packages manually, the logic needs to be changed to pre-generate the messages to temporary files first and then just play those files (via QML) once needed. This could also make recorded voice sample based navigation possible (IIRC Marble has a good collection of multilingual navigation voice samples). As for local name vs instruction language missmatch - this could be a hard nut to crack as rinigius mentioned. I think I should definitely expose any language selection settings for the routing engine and/or the TTS engine - that should help in many cases. Also - it it possible to detect the language for place names in Valhalla output ? If they could be tagged by language (or even just country) it might be possible to set a different language in the TTS engine just fort he place name (at least espeak can do that). Actually, modRana can do this in a limited capability already - there is an option (only in GTK2 GUI, not yet exposed in the Qt 5 GUI) to consider words with cyrilic to be Russian words, so that espeak will speak them in Russian. If we can detect the language by more robust means, this technique could easily be used universally. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
I haven't filed the issue describing it in Valhalla's repo since I am not sure we can actually make use of this output (yet?). I think I saw somewhere mimic/flite issue regarding reading multi-language text, but it wasn't resolved at that time. Which brings the question up regarding partitioning: is it modRana/Poor Maps/... who is supposed to split the sentence and later glue it together or TTS? I would expect TTS to do that, but maybe its naïve. |
Re: [Announce] modRana: a flexible GPS navigation system
@rinigus, MartinK:
Thanks a lot for your answers, but I must admit I lack the expertise to follow much of it. My preferred way of navigation is still a paper map and the sun, especially while biking. Think of it as a contrast program to my IT-heavy job! As a consequence, although I have some basic knowledge about the underlying algorithms, I'm not familiar with the implementation of any concrete navigation SW. I've used Marble occasionally, where due to the old version on the N900 no longer being able to find routes, I need to plan those on my PC with a more recent Marble version and then export these routes to Marble on the N900, which still works. I was hoping to replace this Marble duo with modrana, thus becoming indepentent of my PC again. But for that I'd need waypoints combined with on-device routing. As for espeak, wouldn't it be possible to add some submenu in modrana's options menu that lets one forward arbitrary options to espeak? That's of course assuming that modrana calls the espeak binary, which might not be the case. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
It's under: Options/Navigation/Language When I first tried modrana I had no GPS signal, so changing anything here had no effect since without a position there were no instructions to be read. I assumed this menu was supposed to change the UI language or the language of the generic parts of instructions (e.g. "turn left" -> "links abbiegen"). As this didn't happen I assumed that this was a feature that wasn't implemented yet. At that point I hadn't even realized that changing the pronounciation of proper names would even be necessary, so I forgot about that menu. Instead I expected pronounciation options to be in the Sound menu since I knew it was done by espeak and espeak clearly is sound-related. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
BTW, the Marble project created a rather comprehensive set of navigation voice samples in many languages. Quote:
Quote:
Code:
espeak -s 120 -m '<speak xml:lang="en">In 300 meters turn right to <voice name="de">Schloss Schönbrunn</voice> Then continue straight and watch for horse carriages.</speak>' Code:
<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis/synthesis.xsd" xml:lang="en-US"> Code:
speak -m -f <path to file> Quote:
Or do you mean a case where the TTS engine does not support changing settings per "session" and you would have to basically stich multiple sound files together to achieve the same end result? |
Re: [Announce] modRana: a flexible GPS navigation system
BTW, I've opened a tracking issue for multilingual turn by turn directions, including available routing engine and TTS languages (as far as I could find - corrections welcome!).
First step should likely be to actually make it possible to set language for the router and for the TTS engine. That can be later extended by using data from the router to set the correct language for local names (once available). Actually, just a country code would be enough if no language code is available for the given local name. There is a project called langtable that makes it possible to map languages to country codes (and much more!) with reasonable ammount of certainty. There would still of course be mistakes but it should IMHO generally handle names without explicit language code quite well. |
Re: [Announce] modRana: a flexible GPS navigation system
mimic (and most probably flite) does support SSML, at least some parts of it. I was using it to provide pronunciation for some words used in English Pirate instructions by Valhalla.
While supporting SSML, it becomes a bit more difficult to switch the language in the voice engine that has multiple voices for the same language. I guess, that has to be somehow resolved on TTS side. If done, then we can, indeed, give the full phrase with different languages to TTS engine. As for country->lang matching, there is no need. OSM data gives the names in different languages, not by country code. In general, I think we do need a decent TTS, whether open-sourced or not. In some parts of the code, you can get around by pre-recording, but that cannot be done for all applications. |
Re: [Announce] modRana: a flexible GPS navigation system
New modRana package ready for testing
While I'm currently mainly working on improving turn-by-turn navigation support in modRana & making use of all the nice text-to-speach code and packages rinigius & otsaloma created, it seem to be taking longer than expected. So I've decided to start doing more regular modRana package updates with smaller enhancements, fixes and translation updates till the bigger items are ready for shipping as well. The first such modRana package is ready for testing: http://www.modrana.org/packages/sail...1.1.noarch.rpm For testing of this package I would recommend focusing on localization support - you can check the list of languages on Transifex. If you are running your Sailfish OS in one of those languages it would be good if you could check everything is translated properly. :) The general plan is to wait till early next week and then publish the new modRana package on OpenRepos & Jolla Store (if no blockers show up). Thanks in advance for any testing and feedback! :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
It's impossible to run this version on Jolla 1. It's crushing at the loading screen. Code:
[nemo@Sailfish ~]$ python /usr/share/harbour-modrana/modrana.py |
Re: [Announce] modRana: a flexible GPS navigation system
Code:
[nemo@Sailfish ~]$ python /usr/share/harbour-modrana/modrana.py To run packaged modRana frol the command line on Sailfish OS do this: Code:
sailfish-qml harbour-modrana |
Re: [Announce] modRana: a flexible GPS navigation system
Code:
[nemo@Sailfish ~]$ sailfish-qml harbour-modrana |
Re: [Announce] modRana: a flexible GPS navigation system
Hi MartinK,
it does not seem to work on n900 either because of six.py which tries to access methods (?) that does not available on python2.5: viewkeys = operator.methodcaller("viewkeys"). |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
http://www.modrana.org/packages/sail...1.1.noarch.rpm Can you check it works now ? Quote:
Also, thanks for the feedback everyone, keep it coming! :) |
All times are GMT. The time now is 22:54. |
vBulletin® Version 3.8.8