![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Love the new POI interface. Very nice, and makes it much easier to enter POIs. I've added several, and they all seem to work nicely. Well done! I also have been using modRana as my primary GPS for about 3 weeks, since my Magellan decided it wanted to pretend to be an N900 and spit out it's micro-USB connector (ripped right off the board... and it even had posts and everything....)
So, I have two old request, and three new requests to throw on the "to do" queue I hope? :) Old: 1> Provide a user-editable replacement table/script for text->speech. (I'm still getting "park saint" and "lilly doctor" for park st and lilly dr. ;) ) 2> Add a way to rename track logs (and/or route saves). It would make saving a track log that much easier. And yes, sometimes people save tracks and would like to use them as routes later. Having modRana "remind" me of a turn when driving in the dark can be quite helpful, even on a route I know well. New: 1> Add a way to disable GPS while downloading maps. (Preferably a toggle button on the download page itself.) When I download maps, its usually for a large area overnight. No need to run the GPS while getting 500k tiles... You may also want to "nice" the process for grabbing tiles if you're getting a lot of them. (eg >20K) 2> A tool to create/look-at/modify the database for maps. (Remove/add map tiles at a set level, etc.) I'm sure I can load any SQLLite editor and use select commands to remove the entries by hand. But it would be easier to do this in a UI. (eg remove all tiles except those in levels 12 & 18.) 3> Repeat texts over voice a little more often for long spans. My old Magellan would tell me the instructions 3 times, with a 4th warning when the turn came. Once when I started on the path (after the previous turn), once at 5 miles out, and once at 2 miles out. Then it would "ding" or say "turn right/left" when I hit the fork. Seems right now I sometimes get a message mid-road, but not always. And the repeat before the turn is happening a hundred yards or so before the turn. Not helpful when going 60mph and it's telling you to exit at the exit you're passing. :) This app has really come a long way in a little time. It's seriously at a level where it's better than the OVI maps already, which is saying something. Major thanks for all the work you've put into this. Is there a "donation" link somewhere I can hit? :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
"Clicked, sending set:Menu:None Menu knows menu changed" but phone rebooted itself with modrana running. :/ The second log ends with "Sending message: notification:7 tracks loaded in 6570.00 ms#1" after it rebooted itself the second time with modrana running. So, i can confirm 100% modrana is causing reboots, but unfortunately not offer any details on why. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
named directions_filter.csv Yes, graphical user interface for it would be welcome. Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
/opt/modrana/data/directions_filter.csv Its content is like this: Code:
St.;Street NOTE: I don't really know how the package manager handles installed files, that were user modified, so I'll advice to backup your changes to this files in case it is overwritten by the next version. Also, EVERYBODY: Tell me which substitution pairs should I add to the default set ! Quote:
Quote:
Quote:
Quote:
Why are there just two messages ? The first on triggers in predefined distance, supplied by Google together with the routing messages (make sure you are in the car mode when getting the route), the second once you enter the "capturing radius" of the turning point. A quick way of adding more messages might be by just adding the more messages of the first sort with multiplies of the predefined triggering distance. A more robust but more difficult is to use a custom current speed depended triggering distance estimation. Then it might be possible to even specify a rough time interval (say 120s,60s,20s before turn) for the warnings. Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
BTW, I find it still pretty weird that just a simple application can freeze, let alone reboot the whole device... I have tried some little stress testing (PR1.3, vanilla):
I guess I'll have to do more testing then. (This does not mean that I have never seen modRana freeze the device, but its quite a while since this happened to me last time. On the other hand, my N900 recently restarted while the Nokia pano ap was processing a new panorama.) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Both times the reboot happened while the screen was locked. It takes long enough to trigger that i've never had it happen while actively using modrana. I share the logs to show that nothing unexpected was happening. In the first case it showed the menu message because i closed out the menu after enabling the log. The second log reflects just the initial loading of the tracks i have, which it does every time. I will try disabling the tracks and see if it helps. I first starting seeing the freezes/reboots when i started using the track feature, but that wasn't long after i started using modrana, so that may not mean anything. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Awesome to know there's a file to change the filter. Btw: If user changes happen, the app manager will make a backup and then replace it with the package contents by default. apt-get will prompt and ask what to do. :) Quote:
Quote:
Quote:
Quote:
Quote:
Optimally, I would have preferred a read of the text near the beginning of the highway entry, at about 2 miles before exit (did that part well once), and just before the exit. :) I know it can be tough to guess at how far before an exit to announce. Generally I've found the value (750 * (mph/10)) yards works well. ;) But putting in an announce point about 2 miles before a turn on any segment over 2.5 miles would seem a pretty easy thing to do, which would help a lot for those of us using it for longer stretches. Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I'll add more priority to finally implementing the "is the window visible" detection, which would enable stopping the drawing pipeline when the screen is locked or when modRana is running in the background and its window is not visible. Mappero reportedly works like this. This might help, if the lockups/restarts are graphics or load dependent and should also save some power :) Quote:
It is currently only possible to name the log before hitting the start button, not after logging is running. This is quite impractical, so I guess I'll add rename-while-logging when I get to it :) Quote:
BTW, what about the graphical front-ends ? I wonder whether they show the prompt too... Quote:
For navigation you basically need:
Provided I manage to cram all theses needed info together with the track when saving a route, the resulting GPS file should be usable for navigation in the same manner as the online routes. Quote:
Basically:
|
Re: [Announce] modRana: a flexible GPS navigation system
Just to chip in, I have not used modrana in a while (have not taken a long drive) but I too experienced multiple lock up have to remove the battery issues. I think if I recall it happened mostly when calculating a route.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
What format does it come in from the route server as? Maybe you can just save it in that format (with it's own extension) for later loading. I wouldn't mind having a difference between routes and logs, especially if I can make a route (say on Goggle maps) and export it in some way that modRana would understand. Quote:
This is all "icing on the cake" as it were. I love where it's at right now (esp with the POI stuff working so well). In the not too distant future (Thanksgiving-ish) I may have some time to work on porting a tile server to the N900. If so, it could act as a local server (backup) for non-networked usage. I've made some pretty extensive changes to an opensource tile server for a group I've been working with, and think it may be pretty doable to get it up and running on here. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
ModRana does not actually calculate routes, but asks an online service. ModRana currently waits for a reply and the GUI freezes while it waits. The reply usually comes instantly on a good connection, but it can take a while on a slow one. This means that the modRana interface might freeze for up to 30 seconds (current connection timeout value) if the query or the result gets lost. Thats clearly not ideal and I am going to implement the queries in a separate thread. There should also be a "getting route" overlay with a cancel button. Quote:
Quote:
Quote:
Quote:
I already see quite a few things to do with it: :)
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Even if it's too slow to do real time, it could do things like filling gaps the existing tile cache for a route. With a little adaptation, it could take the route shape, find existing/missing tiles, and generate just the missing ones. If you have even partial coverage, it may be able to keep up that way at least. Quote:
The hard part is getting/massaging the vector data into a format that it likes. And vector data isn't always small... the global vector map I'm working with right now is near 7G. Nothing compared to tiles, I know.. but... :p |
Re: [Announce] modRana: a flexible GPS navigation system
I was testing the latest version of modrana extensively on the road today. It worked surprisingly well. Didn't have problems with downloading new tiles on the fly and keeping direction.
The biggest problem was the GUI rotation is not working. No matter, if set to automatic, portrait, or landscape, it was landscape. Which is a problem when driving, as you want to see far ahead, so you should be able to set it to portrait. Am I right in assuming that this feature is not implemented yet and just has an options menu entry prematurely. Or is there a problem? |
Re: [Announce] modRana: a flexible GPS navigation system
Further testing, I think modrana has a serious problem with rerouting.
When routing is running and there's the blue box saying 'tap me to reroute', I'd tap it, it says rerouting, then it seems a new route is retrieved from google - not sure about it, as it was the same route I was following - but then the interface in stuck, i.e. the car position is updated on the map, but the display doesn't react to touches... The N900 doesn't freeze though, as I could close modrana via the X button in the corner. The above "freeze" occured many times in a row as I tried. so it's not a random error. Also, maybe there is some problem with routing: i.e. I routed to some point, I was already driving there, as I know where it's at. I was on this long, many km stretch without turns. After I got on it, hit 'start navigation' from the closest point which was some 200 m already past, as I was on the road, and now as I kept driving, the blue box kept showing me next turn, which was the first turn, i.e. to get on the longest stretch of the road, and the distance to it was growing, i.e. ran up into several km. So maybe it should not be closest point to start nav from, but closest next point, as then as in this case it can lead to strange results. Finally, I think if you route to somewhere, navigation should be started by default. i.e. you shouldn't have to press the option to start navigation. Please don't take this as criticism, Martin. I think you are doing the greatest job and this app kicks ***. Edit: BTW, these three stars were added automatically by the system, replacing the text I typed, WTF? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Hmmm, in fact I'm fairly certain the problem lay in navigation, not rerouting.
Tested further, and now didn't even get to the blue box, saying recalculate. When I enter the data I want to route to, I see the route, now hitting 'start navigation', gets me into the same "freeze", i.e. the car position is updated, until it runs of the map, as it's not autocentered after touching the screen. But then modrana doesn't react to keypresses. It's not really freezing the system, as the CPU load doesn't rise, modrana can be closed, but it's dead to input. Left it like that for a couple of minutes, in hopes it'd pick up, but didn't. Before, the blue box also didn'h display right away, but in the end it did, but not now. Same problem a couple of times, so it's a recurring behavior. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Also, if your tileserver provides tiles through http, the current asynchronous download code could be used (it would wait for the tiles to be ready without blocking the GUI, etc.). The only downside would be, that the tiles would be actually stored and would take up space. The other possibility I see, provided the tile rendering is fast enough once an area is cached, is to integrate something like an "area manager":
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
re the file doenload feature.
are we downloading the map ????? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
I'am actually working right now on making the routing asynchronous + cancellable. Quote:
I am thinking about this fix:
Let me know if you can think of some cases when this would fail, or if you find some other algorithm for this :) Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Hey Martin:
Happy Nameday :O) Quote:
Autorotation depends on python-osso but modrana doesn't have it as a depend. You should update the package info. Once python-osso is installed, works no prob. With the partial crash, I think I see what's going on and why it gets stuck: Code:
**log: stdout redirected to (this :) log file I'm in Russia now and using Mapnik as the source, it quite nicely has all the streetnames in Russian. I assume however that espeak does not know how to handle this UTF-8 text, since the lang isn't specified and so it seems it gets stuck on reiterating the same instruction. Nothing comes out of the speaker, i.e. nothing is said, and the blue box doesn't appear. I was successful a couple of times in getting the blue box with instructions to appear, I assume this must've been where the directions were not in UTF-8, for a lack of a streetname in Russian or what have you. Nothing was said though. And then when I hit reroute, it'd say 'rerouting' and then get stuck, probably on the Russian directions. If this is the case and programming in the language support would be too big of a task, I'd just recommend hacking in to skip saying the streetnames if they are in UTF-8 and just say 'turn' 'in' '80' 'meters' so that it'd still work and not have probs. You must've the same probs in Czech though... |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
And yes, I live in a place with both multi-lane urban highways, and rural seasonal "roads" that have 2m+ divots in the road. Lucky me, eh? Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Hi Martin,
Awesome application, big credit to you for the time and energy that you are putting into this !! I have been trialling ModRana in the past few days based on your advice (and PM), and brilliant assistance from another thread on Mapping, I have loaded Nautical maps as one of my repositories and use this (overlayed to Google Satellite) whilst out on the water to record tracks, mark fishing spots/POI's and understanding the depth/terrain of the current position (based on map data). Some Questions: 1) How is the screen blanking controlled/determined? What conditions/setting would keep the screen on? (probably userguide related so let me know if I can find this already somewhere) 2) I have a POI DB with 2044 marks. Navigating through these easily is difficult in Modrana (long list). Is there an easy way to keyword search the POI's loaded or Display the nearest POI's to your location from the db ? I'll keep testing and let you know of my thoughts. I'm thinking a 'Boat' mode could be cool, it would seem this is easily achieved with your customizable interface. Well done, and thank you ! |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
I looked through the routing API definition and found how to request directions in more languages, including Russian. So I can get native directions in some language + make espeak use the same language for voice output. Google provides directions in more languages than Espeak supports. I have therefore added only languages that are supported both by Google and espeak. These languages will be supported: Code:
Catalan That reminds me: The espeak output quality varies per language, some languages may be barely usable, others are quite good. Quote:
Quote:
But it seems to be USA-only, so I would not be able to directly test/debug it there in Europe :) Quote:
Quote:
They are quite nicely available for individual countries and continents , on the other hand a (possibly resource intensive ?) import from the OSM XML to the tileserver database would be needed. Quote:
[QUOTE=janszoon;870784] Some Questions: 1) How is the screen blanking controlled/determined? What conditions/setting would keep the screen on? Quote:
Quote:
Quote:
Quote:
Quote:
BTW, modes work like this in modRana:
Do you have any nice boat mode specific optimizations on your mind ? :) |
Re: [Announce] modRana: a flexible GPS navigation system
1 Attachment(s)
Quote:
:) But in the maybe pile:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Well, at least that's what I assumed it was getting stuck on, i.e. somehow deciphering the Russian names... Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
On an unrelated note, I'm anxiously awaiting an offline routing mode. :) -jkq |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
1. Use tracklogs which are close enough (10m?) to the start and end points as route. 2. Remember routes received from Google and reuse them. 3. Ask user to download OSM vector maps for wanted region and then use the vector maps for offline routing. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
PS Apparently Advanced Geocaching Tool has direction and distance. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
-jkq |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Full screen and moving Moving Receiving GPS data never Always cheers |
Re: [Announce] modRana: a flexible GPS navigation system
I installed roadrunner (speed camera proximity detector) and tried to run it alongside modRana yesterday. They didn't appear to coexist well - both apps remained running but modRana wasn't redrawing the map with current location. I didn't have time to check closely but I suspect RR possibly wasn't updating GPS co-ord's correctly either.
I had assumed that multiple app's would be able to concurrently access the GPS without interfering - apparently not, unless I did something wrong during the test. As RR is really just a collection of POI's with a proximity algorithm and an interface to alert the user when he gets within 'x' Km's of any individual POI, I wondered whether it would be possible to build this into a future modRana release? It would be nice to have a prominent icon displayed on screen and/or an espeak prompt warning of any speed cam's on the upcoming stretch of road. Would take modRana one step closer to emulating a dedicated in-car navigation system. Thoughts? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
modRana V0.18-1 has just been released! :)
Whats new ?
More later :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Opened the modRana route option, entered the route, it showed on the map, but I couldn't find a way to "start" the navigation routing. Finally pulled over to the shoulder of the road and stuffed the sim back into my Android phone. Google nav got me to jury duty. While I had read much of the documentation and played with modRana at home, I hadn't navigated with it until I was in the car. Once I was in my car, I wasn't really in a position to dig through either this thread or the wiki to figure out how to activate the navigation. When I got home I set up a route to my local deli and walked there. The navigation route worked fine at that point and I can see how to turn it on. I do realize this is free, alpha software and you're only just starting to polish things up. But, it would be REALLY REALLY helpful to be able to turn on navigation from the Route page (rather than pre-program the Route and start it through "Route => Current Route => Tools".) If POI is meant to be the way to type in addresses and get to them on the fly, then, it should (somehow) be made clear through the screens. Right now, I don't see anything that looks like it's meant for "on the fly" navigation. There needs to be a way to suddenly activate GPS routing at a minimum for those "oh damn" moments when you're shifted to a detour you don't expect (edit: and didn't have modRana running till you were detoured -- I don't mean re-routing an existing session). Or, when you're out at a place you do know and are asked unexpectedly to drive somewhere you don't know. Related to this, a way to *easily* chose start and end points (either for routes or POI) from your Contacts list addresses would be awesome. Something simpler than typing the address in by hand, which again necessitates pulling the car over when it may not be safe/convenient. I'm borrowing this from Android's Google Nav, which is the service I've been using. It doesn't seem like all that big a deal until you start to use it and it seeps into your GPS-expectation-subconscious ;). Again, I do realize this is development software that one person is working on, not one of Google's pet "eternal beta" products that has a dedicated team updating it on a full-time basis. Reading over this thread I can see how modRana has been progressing over the past few months to really seem like it's catching up to Google Nav in performance. Awesome software, hope you'll consider the suggestions, off to click the paypal support link! |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Code:
**log: stdout redirected to (this :) log file |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
PS, I just checked to make sure it wasn't a problem with routing or something on my N900, anyhow routed from point to point in Prague, from Vaclavske nam. to Zlute lazne, no prob.
Didn't hear the directions, since I'm not in Prague now, but the "watch out..." box appeared, and I could touch reroute and it said "rerouting"... Thus it seriously must be something with the UTF-8 text in Russian, as it doesn't get stuck in the GUI-nonresponsive state while routing in Czech Republic... |
All times are GMT. The time now is 10:04. |
vBulletin® Version 3.8.8