![]() |
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:
|
All times are GMT. The time now is 13:04. |
vBulletin® Version 3.8.8