maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] modRana: a flexible GPS navigation system (https://talk.maemo.org/showthread.php?t=58861)

MartinK 2013-05-05 21:11

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by sixwheeledbeast (Post 1341517)
Is there any chance of downloadable map packs for ModRana?
It can be a pain downloading around this area at different zoom levels.
In past tests if you set to download maximum amount of tiles for around my area, it slows the system down so much it becomes unresponsive.

I've recently fixed some GTK threading issues, so batch download should now be faster and should no longer slow down if there are no GUI changes going on.

Also, I found that the the mbtiles tile storage format is very similar to the modRana sqlite tile storage format. It will not work with modRana as-is, but the changes needed for supporting mbtiles should be quite minor. Basically just telling modRana to look for mbtiles files in layer folder and trying to fetch the tile from them first.

There might be some mbtiles downloads or you can just mill your own tiles with tilemill & then export them in the mbtiles format.

Quote:

Originally Posted by malfunctioning (Post 1341519)
Although I still haven't tried doing this, I'll believe you, and agree that downloadable maps might be a good idea.

If modRana has a i386 Linux version, I suppose this process could be done also in a PC.

ModRana runs just fine on Linux PCs - just download the tarball (or clone it from github), unpack it somewhere and run modrana.py.

All map tiles will be stored in ~/.modrana/maps :)

Quote:

Originally Posted by malfunctioning (Post 1341519)
I have a question, which will probably reveal my absolute lack of knowledge in this area: What modRana needs to navigate and give directions is embedded in the map data, but that metadata is separate from the graphic tiles? Because it would be a good idea to just download that metadata without downloading the tiles (or just downloading very low resolution tiles) and it seems it would save a lot of space. If you have voice navigation this would even make more sense.

Does modRana even need any tiles to be able to give directions?

Routing is totally independent from map tiles - the tiles are currently just PNG/JPEG images and don't have any additional use apart from showing the map. :)

By default modRana uses online routing provided by Google, but also supports offline routing with Monav. See the modRana offline routing guide for how to configure and use it. :) The modRana Monav routing data repository covers the whole planet, including the recently added Antarctica. :)

BTW, many thanks to the Masaryk University NLP laboratory for hosting the ~120 GB repository and providing the computational resources that enable global updates taking just 5 hours. :)

MartinK 2013-05-05 21:21

Re: [Announce] modRana: a flexible GPS navigation system
 
Some more information about the Monav data repository update

Global update means, that it processes ALL OpenStreetMap data at least SIX TIMES. :)
  • once for big are extracts (Europe, Africa, North America, etc.)
  • once for country wide extracts (France, Germany, Austria, australia, etc.)
  • 3x as it makes speaprate packs for car, bike and pedestrian routing :)
And some countries also have sub-regions, so it is even more than 6x times. :)

And all this (including data download from Geofabrik) in about 5 hours. :)

The machine has 48 logical CPU cores & ~200 GB RAM. And modRana data repository update can utilize it to 0.90 system load. :)

malfunctioning 2013-05-05 21:33

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1341529)

Routing is totally independent from map tiles - the tiles are currently just PNG/JPEG images and don't have any additional use apart from showing the map. :)

By default modRana uses online routing provided by Google, but also supports offline routing with Monav. See the modRana offline routing guide for how to configure and use it. :) The modRana Monav routing data repository covers the whole planet, including the recently added Antarctica. :)

I just went through that and it couldn't be any more straightforward. I'm going to go ahead and download the map for my region, then give it a try this week. Thanks!

Regarding Anctartica, how do those directions look?
- Continue 200 Miles and make a left turn on the first penguin.
(205 Miles later)
- Crap, I think we missed that penguin... :)

malfunctioning 2013-05-05 21:36

Re: [Announce] modRana: a flexible GPS navigation system
 
Very impressive how the Monav data repository works as well, thank you for sharing that. Open Source FTW!

MartinK 2013-05-05 21:45

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by malfunctioning (Post 1341533)
I just went through that and it couldn't be any more straightforward. I'm going to go ahead and download the map for my region, then give it a try this week. Thanks!

Regarding Anctartica, how do those directions look?
- Continue 200 Miles and make a left turn on the first penguin.
(205 Miles later)
- Crap, I think we missed that penguin... :)

Well, I haven't actually tried that yet - I just spotted it got recently added to Geofabrik & thus also processed to the repository.

My guess would be that it just covers the small local road network in some of the bigger polar stations, such as McMurdo. :)

BTW, this is how McMurdo looks like on OpenStreetMap:
http://staticmap.openstreetmap.de/st...ol-marker-blue
The funny looking roads going over water are IMHO the ice runway access roads. :)

Estel 2013-05-05 21:47

Re: [Announce] modRana: a flexible GPS navigation system
 
MartinK, thanks for your incredible work, and congratulations on reaching another platform :) It's nice to see such wonderful program becoming more widespread, I'm sure, that after becoming fully functional, it just kicks out any Android's "navigational tool" in terms of functionality.
---

Now, out of curiosity - after - at some point in future - bringing full functionality to QML version, are you going to keep working on GTK version, syncing features, etc? It's not a secret, that there are many fans of GTK edition, that doesn't feel QML to be such fancy (not to mention having both GTK and QT bits loaded in memory is a huge bit of resource waste).

/Estel

MartinK 2013-05-05 22:04

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by Estel (Post 1341538)
MartinK, thanks for your incredible work, and congratulations on reaching another platform :) It's nice to see such wonderful program becoming more widespread, I'm sure, that after becoming fully functional, it just kicks out any Android's "navigational tool" in terms of functionality.

Thanks ! :)

Quote:

Originally Posted by Estel (Post 1341538)
Now, out of curiosity - after - at some point in future - bringing full functionality to QML version, are you going to keep working on GTK version, syncing features, etc? It's not a secret, that there are many fans of GTK edition, that doesn't feel QML to be such fancy (not to mention having both GTK and QT bits loaded in memory is a huge bit of resource waste).

/Estel

I don't have any definitive plans for this but the truth is, that GTK doesn't seem to be doing any inroads to mobile platforms recently and lately everything is Qt.

But due to all the features it has, the GTK GUI is still the main GUI for now and also the main desktop GUI, due to Qt Components missing from most distribution repositories. BTW, a dedicated desktop-like modRana GUI would be nice but I don't see having time for making it any time soon.

Also, I'll be generally improving the core modRana data models, which are shared by both GUIs, so the GTK GUI should also indirectly benefit from QML improvements. So we will see how it goes, at least I want it to remain fully functional and I'll fix any future breakage in the GTK GUI. :)

Also, I'll welcome any sensible patches for the GTK GUI (and of course for the QML one and generally for any part of modRana)! :) So if someone wants to improve the GTK GUI while I'm mid-term working mainly on the QML one, now is you chance ! :)

BTW, modRana source code is on Github, so sending a merge request is very easy - just ask Wikiwide or ZogG how easy it is. :)

magic_doc 2013-05-06 06:51

Re: [Announce] modRana: a flexible GPS navigation system
 
1 Attachment(s)
Hi MartinK,

thanks again for your great work and congratulations for the android-version.

May I dare to ask if there is any chance to get the messed-up gpx-tracks displayed correctly in the future?

CU Michael

malfunctioning 2013-05-08 00:37

Re: [Announce] modRana: a flexible GPS navigation system
 
I've done my first experiments and I'm very impressed! I'm using modRana 0.41.1(GTK version).

A couple of questions:
EDIT: Disregard requests to configure location to save tile data, as I see it has been already asked. ;)

- Is there a way to set the location where tiles are downloaded? I can't find that option anywhere. For that matter, is there also a way to configure where modRana looks for the navigation data?
Please, allow for the configuration of the location to save tiles and navigation data. I would rather put it in the micro SD card because it's easy to replace. I can even put it on a second N900, and use the data as well. Until then, maybe some symlinking is in order.

- When I am setting up the batch download of tiles, I clicked to calculate the size. When it calculates the size, it looks like it keeps calculating the full size (I suppose it downloads and deletes every single tile?) It would be better probably to just estimate by downloading a representative number of random tiles and then extrapolating (sorry if that's the way it already works, I might have not waited enough).

- Another comment regarding the last point: When it is calculating the size, if you click back to exit the menu, the application becomes nonresponsive and needs to be closed. I guess the threads that are downloading / calculating the size of the tiles are still running.

Great program! I think I'm going to use it for the first time tomorrow. :)

Talking of which, does Google really disable batch downloading of tiles? Because that sucks. Anybody knows how to get around that?

Martin, I just had a cool idea: Since Google disables batch download, but downloading tiles in normal use is allowed, wouldn't there be a way to simulate a route that would cover all the target tiles? Unfortunately I suppose you would have to run the route as many times as the zoom levels you have selected, and change zoom level at each pass. And, the route would probably be huge and hard to compute. A strange benefit is that this would take less space, because it wouldn't download tiles that you wouldn't see during normal use (tiles for places unaccessible within the view distance for the range of zooms selected). Also, you might have to be observant of the speed at which the route is run.

malfunctioning 2013-05-08 02:39

Re: [Announce] modRana: a flexible GPS navigation system
 
Another thing I noticed: There seems to be a discrepancy (at least in some circumstances) between the sizes reported as transferred and remaining on the device, in the batch download page.

I was doing a batch download for Yahoo Maps, and the size available on device was decreasing at a rate 20 or 40 times faster than the size reported as transferred. I also think that the size reported as transferred was too low (around 65MB for 25000 tiles). I'll check the size of the files when the transfer is done, but I thought I'd mention this.

Whispering Weasel 2013-05-08 08:01

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by malfunctioning (Post 1342002)
Another thing I noticed: There seems to be a discrepancy (at least in some circumstances) between the sizes reported as transferred and remaining on the device, in the batch download page.
...

Yes, this is known and has been discussed before in this thread (which is rather long) and has to do with the tile file size and the file system. To remedy this you can use the sqlite database (built -in). It is in options - map - tile storage. if you set it to sqlite it will use much less disk space.

pichlo 2013-05-08 09:17

Re: [Announce] modRana: a flexible GPS navigation system
 
Another remedy is reformatting MyDocs with smaller allocation blocks.
But please keep in mind two things:

1. The smallest allocation block you can achieve on such a large partition is 8KB. Better than the default 64KB that's for sure, but given that the average tile size is about 4KB, you still waste about 50%.

2. Smaller allocation block means there is more of them. Which means that the FAT is bigger and more RAM is used by the file system cache, leaving less RAM available for applications.

Unless you intend to share the tiles with other applications, your best option is using the sqlite database as Whispering Weasel suggested.

malfunctioning 2013-05-08 23:07

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by Whispering Weasel (Post 1342055)
Yes, this is known and has been discussed before in this thread (which is rather long) and has to do with the tile file size and the file system. To remedy this you can use the sqlite database (built -in). It is in options - map - tile storage. if you set it to sqlite it will use much less disk space.

Thank you very much. I remember the sqlite discussion, but I didn't know it was the cause of what I was seeing.

malfunctioning 2013-05-08 23:09

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by pichlo (Post 1342068)
Another remedy is reformatting MyDocs with smaller allocation blocks.
But please keep in mind two things:

1. The smallest allocation block you can achieve on such a large partition is 8KB. Better than the default 64KB that's for sure, but given that the average tile size is about 4KB, you still waste about 50%.

2. Smaller allocation block means there is more of them. Which means that the FAT is bigger and more RAM is used by the file system cache, leaving less RAM available for applications.

Unless you intend to share the tiles with other applications, your best option is using the sqlite database as Whispering Weasel suggested.

I understand, thank you for pointing that alternate route to ameliorate the problem. I will proceed by using the sqlite database for tile downloada.

malfunctioning 2013-05-08 23:25

Re: [Announce] modRana: a flexible GPS navigation system
 
I've run into a little problem. I grabbed the car routing data for the US West region directly from http://modrana.org/data/monav/north-...est_car.tar.gz

Then, I stored the resulting folder (us-west) into the path specified in the wiki, and the data files end up in:: /home/user/MyDocs/.maps/monav_data/us-west/routing_car/

But I can see no preferred pack when I try to add it in the modRana Navigation > Routing data options. Yes, I restarted modRana (and the N900 itself) a few times, and I don't see anything wrong with permissions, which are 777 across the board as far as I can tell.

MartinK mentions here that compatible data packs can be obtained from monav.openstreetmap.de, and I see that there the us-west archive is not divided into the different modes (car, foot, etc), but comes as a single file. That's why I used the other link, and now I'm wondering if there is some problem with that file.

I searched this thread for this issue but I didn't see anything. Any ideas?

MartinK 2013-05-09 22:06

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by magic_doc (Post 1341587)
Hi MartinK,

thanks again for your great work and congratulations for the android-version.

Thanks ! :)

Quote:

Originally Posted by magic_doc (Post 1341587)
May I dare to ask if there is any chance to get the messed-up gpx-tracks displayed correctly in the future?

CU Michael

Good point, I really should finally fix that. Hopefully it shouldn't be that difficult (basically just recognize where the segments start/end and start/stop drawing them accordingly). :)

Quote:

Originally Posted by malfunctioning (Post 1341989)
I've done my first experiments and I'm very impressed! I'm using modRana 0.41.1(GTK version).

A couple of questions:

....

- When I am setting up the batch download of tiles, I clicked to calculate the size. When it calculates the size, it looks like it keeps calculating the full size (I suppose it downloads and deletes every single tile?) It would be better probably to just estimate by downloading a representative number of random tiles and then extrapolating (sorry if that's the way it already works, I might have not waited enough).

It is a bit more efficient than downloading the tiles - it downloads just the headers and checks the size field. It does really check all files though - which is not much usable for very large sets. BTW, if it also finds some that some tiles are available from local storage, it removes them from the batch.

Anyway, I like your random sample idea - that could really work quite nicely in most cases ! :) Picking say 1000 tiles at random and extrapolating from there.

Quote:

Originally Posted by malfunctioning (Post 1341989)
- Another comment regarding the last point: When it is calculating the size, if you click back to exit the menu, the application becomes nonresponsive and needs to be closed. I guess the threads that are downloading / calculating the size of the tiles are still running.

Thats weird, I'll check it out. The threads should be daemonic, so that when their parent quits, they should be automatically killed.

Quote:

Originally Posted by malfunctioning (Post 1341989)
Great program! I think I'm going to use it for the first time tomorrow. :)

Thanks & good luck on your travels ! :)

Quote:

Originally Posted by malfunctioning (Post 1341989)
Talking of which, does Google really disable batch downloading of tiles? Because that sucks. Anybody knows how to get around that?

Martin, I just had a cool idea: Since Google disables batch download, but downloading tiles in normal use is allowed, wouldn't there be a way to simulate a route that would cover all the target tiles? Unfortunately I suppose you would have to run the route as many times as the zoom levels you have selected, and change zoom level at each pass. And, the route would probably be huge and hard to compute. A strange benefit is that this would take less space, because it wouldn't download tiles that you wouldn't see during normal use (tiles for places unaccessible within the view distance for the range of zooms selected). Also, you might have to be observant of the speed at which the route is run.

I think the algorithm Google uses for baning is much more simple - probably just user-agent & number of tiles downloaded per second. Also, the Google Maps web interface seems to download tile sequentially/in order, so they might also try to detect that.

There are some improvements I plan to eventually implement for batch tile download, that all have legitimate uses, but might be useful for users wanting to work with Google tiles:
  • custom user agent support
    As a good behaving application, modRana correctly reports it's user agent as:
    Code:

    "modRana flexible GPS navigation system (compatible; Linux)"
    Some enterprising users might want to set it to something like:
    Code:

    Mozilla/5.0 (compatible; MSIE 5.5; Linux)
    If anyone wants to experiment with the user agent already in hte current modRana version, it is set in
    Code:

    /opt/modrana/core/configs.py
    on line 190. :)
    Note that you need to be root to edit this file.
  • limiting the number of tile download threads
  • custom/Random delay between tile downloads
  • support for tileserver mirrors
    Most big tileservers, including the Google ones have 3 or more mirrors. This is mainly due to some Javascript threading limitation, but using multiple mirrors from modRana might be handy. :)

BTW, modRana supports downloading tiles around a tracklog or current route. :)

Quote:

Originally Posted by malfunctioning (Post 1342245)
I've run into a little problem. I grabbed the car routing data for the US West region directly from http://modrana.org/data/monav/north-...est_car.tar.gz

Then, I stored the resulting folder (us-west) into the path specified in the wiki, and the data files end up in:: /home/user/MyDocs/.maps/monav_data/us-west/routing_car/

But I can see no preferred pack when I try to add it in the modRana Navigation > Routing data options.

Looks like a regression - I'm having the same issue. I've done some changes in how the path to the routing data folder is "computed", which might have triggered it. Hopefully should be an easy fix. :) BTW, thanks for reporting this! :)

MartinK 2013-05-09 22:57

Re: [Announce] modRana: a flexible GPS navigation system
 
Well, why not ? :)

modRana 0.41.2 has been released ! :)

Changelog:
Code:

* Thu May 09 2013 Martin Kolman  - 0.41.2
- fix modRana not showing monav routing data packs
- if map folder path is redirected by config file option, the Monav routing data folder is also using the redirected path
- new option for disabling (almost) all animations in QML GUI
 - the option is in Options->UI
 - when enabled, page switching becomes ridiculously fast, even on the N900 :)
 - dialog animations are still ON, as there doesn't seem to be a clear way of switching them OFF


malfunctioning 2013-05-10 01:13

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1342480)
Well, why not ? :)

modRana 0.41.2 has been released ! :)

Changelog:
Code:

* Thu May 09 2013 Martin Kolman  - 0.41.2
- fix modRana not showing monav routing data packs
- if map folder path is redirected by config file option, the Monav routing data folder is also using the redirected path
- new option for disabling (almost) all animations in QML GUI
 - the option is in Options->UI
 - when enabled, page switching becomes ridiculously fast, even on the N900 :)
 - dialog animations are still ON, as there doesn't seem to be a clear way of switching them OFF


Thank you so much, MartinK! That's an amazing turnaround for a problem that you just became aware of.

Also, your advice as far as customizing the configuration in order to attempt to be more successful downloading the Google maps is awesome. I'll have to give that a try.

I didn't know that the procedure to check the size for batch downloads also removes tiles from the batch if they are already available. That's very smart of you, and very convenient (great way to resume interrupted downloads). A random check would probably lose this benefit I guess, so maybe give the option for strict and random check to the user? Just an idea.

Your program is so flexible, and the ability to select from a number of maps as well as stuff like tile downloading and offline routing is so great, that today at work I felt a little like a wise man amongst iPhone owning fools. A (humble) donation is forthcoming. And good luck with your Android port, you deserve to be successful!

I have also been using Mieru, by the way. Great program as well! Reading Like a Velvet Glove Cast in Iron in my spare time. ;)

sixwheeledbeast 2013-05-10 12:46

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1341529)
I've recently fixed some GTK threading issues, so batch download should now be faster and should no longer slow down if there are no GUI changes going on.

I have unsuccessfully tried to download around my area, as large as possible with max up and max down, three times so far today.

Everytime the device reboots after a few minutes.

I am using sqlite if that helps but also had the same issue with original storage.

pichlo 2013-05-10 13:22

Re: [Announce] modRana: a flexible GPS navigation system
 
@sixwheeledbeast, I've never had much luck with max-up-max-down downloads. At best the device became so sluggish that it made an impression of locked up (e.g. took 2-3 minutes to register a screen tap), at worst it rebooted. I assume the reboot was caused by the watchdog, but I might be wrong.

I have not found a workaround yet. I've tried batch download with JTileDownloader as suggested by Estel a few pages back but it took 5 days to download the whole of UK up to level 13. Given that level 14 has twice as many tiles as levels 0-13 combined, I gave up at this point.

Estel 2013-05-17 11:14

Re: [Announce] modRana: a flexible GPS navigation system
 
Since one of last updated, ModRana hangs at calculating online routing (needs killing). The following error appears in terminal:

Code:

** dialog accepted **
Clicked, sending route:addressRoute
route: address routing
route: routing from 52.222719,18.251084 to Piekary 16, Poznań
onlineServices: worker starting
Sending message: ml:notification:workInProgressOverlay:enable
worker: routing from 52.222719,18.251084 to Piekary 16, Poznań
Sending message: ms:turnByTurn:start:enabled
tbt: starting worker thread
TBTWorker: started
Sending message: ml:notification:m:use at own risk, watch for cliffs, etc.;3
notification: message: use at own risk, watch for cliffs, etc., timeout: 3.0
notification@dmod: message: use at own risk, watch for cliffs, etc., timeout: 3.0
Xlib: unexpected async reply (sequence 0x25f8)!

/Estel

int_ua 2013-05-20 16:20

Re: [Announce] modRana: a flexible GPS navigation system
 
And monav routing doesn't work for me too in 0.41.2
Code:

monav: search finished in 110.00 ms and 1 tries
Traceback (most recent call last):
  File "/opt/modrana/modules/gui_modules/gui_gtk.py", line 506, in released
    self.click(event.x, event.y, msDuration)
  File "/opt/modrana/modules/gui_modules/gui_gtk.py", line 534, in click
    m.handleClick(x, y, msDuration)
  File "/opt/modrana/modules/mod_clickHandler.py", line 68, in handleClick
    self._processClickArea(area, x, y)
  File "/opt/modrana/modules/mod_clickHandler.py", line 81, in _processClickArea
    m.routeMessage(action)
  File "/opt/modrana/modules/mod_messages.py", line 115, in routeMessage
    m.handleMessage(text, None, None)
  File "/opt/modrana/modules/mod_route/mod_route.py", line 224, in handleMessage
    self.doRoute(fromLat, fromLon, toLat, toLon, waypoints=middlePoints)
  File "/opt/modrana/modules/mod_route/mod_route.py", line 457, in doRoute
    self._handleResults("MonavRoute", (result, monavWaypoints[0], monavWaypoints[-1], sentTimestamp))
  File "/opt/modrana/modules/mod_route/mod_route.py", line 603, in _handleResults
    self.processAndSaveResults(dirs, start, destination, routeRequestSentTimestamp)
  File "/opt/modrana/modules/mod_route/mod_route.py", line 646, in processAndSaveResults
    self.processAndSaveDirections(directionsWay)
  File "/opt/modrana/modules/mod_route/mod_route.py", line 662, in processAndSaveDirections
    directions = self.filterDirections(directions)
  File "/opt/modrana/modules/mod_route/mod_route.py", line 690, in filterDirections
    originalMessage = "".join(step.getMessage())
TypeError


MartinK 2013-05-20 21:59

Re: [Announce] modRana: a flexible GPS navigation system
 
Thanks for reporting the bugs, noted. :) I'll check it out right away once I send my masters thesis to print on Wednesday. :)

MartinK 2013-05-21 00:02

Re: [Announce] modRana: a flexible GPS navigation system
 
BTW, just got modRana running on BlackBerry 10:
http://modrana.org/images/bb10/modra...na_on_bb10.jpg
(this is also part of the thesis :) )

handaxe 2013-05-21 00:11

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1345423)
.... once I send my masters thesis to print on Wednesday. :)

OT I know, but from a former academic, MartinK - congratulations!!! But no sitting on your laurels, hear! :-)

MartinK 2013-05-21 00:17

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by handaxe (Post 1345453)
OT I know, but from a former academic, MartinK - congratulations!!! But no sitting on your laurels, hear! :-)

Thanks !!! :)
Well, I still have to defend it & pass the masters exam. :)

Sending to print = going to nearby bookstore/copy-center and giving them the PDF, so they can print it and make two bound copies (I already ordered the book covers, which should be already prepared). No large scale printing runs (yet ! ;)).

handaxe 2013-05-21 00:21

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1345455)
Thanks !!! :)
Well, I still have to defend it & pass the masters exam. :)

True. But in a sense, the "birthing" part is done.

MartinK 2013-05-21 00:34

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by handaxe (Post 1345457)
True. But in a sense, the "birthing" part is done.

That's for sure ! :D And it will be quite some delivery, at 84+ pages. :)

Oh and all those "little" side-effects, like being able to run a single Python & QML codebase on BB10, Android, Fremantle, Harmattan, Nemo & on PC. :)

rotoflex 2013-05-21 10:31

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1345423)
Thanks for reporting the bugs, noted. :) I'll check it out right away once I send my masters thesis to print on Wednesday. :)

Go go go Martin!

Kossuth 2013-05-21 11:27

Re: [Announce] modRana: a flexible GPS navigation system
 
It also seems so that online address search is broken for me. Routing works and finds addresses correctly and so does the wikipedia search work also, but address search always returns not found. Here's copy-pasta from terminal

Code:

licked, sending search:searchAddress
onlineServices: worker starting
Sending message: ml:notification:workInProgressOverlay:enable
('geocoding exception:\n', GBadKeyError('The api_key is either invalid or does not match the domain for which it was given.',))
geocoding done - nothing found
Sending message: ml:notification:m:No results found for this address.;5
notification: message: No results found for this address., timeout: 5.0
notification@dmod: message: No results found for this address., timeout: 5.0
onlineServices: worker finished
Sending message: ml:notification:workInProgressOverlay:disable


Estel 2013-05-21 12:55

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1345423)
Thanks for reporting the bugs, noted. :) I'll check it out right away once I send my masters thesis to print on Wednesday. :)

Good luck, from me too!

Meanwhile, I got something else to report - it seems, that there is error somewhere, in calculating average speed (bicycle mode, for example). I did some tests during last, long trip, and every time, average speed was much lower, than it should be.

Example - I restarted ModRana while driving @80 Km/h. For a short while, average speed was 80 Km/h. Then, for few seconds I slowed down to 62 Km/h, but average speed got to 29 Km/h (!). Since that, despite I've never slowed down to ~30 Km/h, average stayed around that, changing only a few kilometers/h up or down.

Whole thing is perfectly repeatable.
---

On another note - sorry if it was asked before, but could you add OpenRoutingService to list of available on-line routing providers? Currently, it is only google or Monav, while ORS seems perfectly compatible (correct me, if I'm wrong).

Cheers,
/Estel

int_ua 2013-05-21 20:26

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by int_ua (Post 1345255)
Code:

    originalMessage = "".join(step.getMessage())
TypeError


Workaround:
Code:

    originalMessage = "".join(str(step.getMessage()))
doesn't fix the original problem but is easy to apply.

malfunctioning 2013-05-24 02:34

Re: [Announce] modRana: a flexible GPS navigation system
 
I haven't been here in a few days. Good luck from me too, MartinK! Hopefully your thesis looks awesome in printed form.

Estel 2013-05-31 21:20

Re: [Announce] modRana: a flexible GPS navigation system
 
Log of another crash-leading bug:

Code:

Clicked, sending menu:screenClicked
Clicked, sending mapView:zoomIn
notification: message: zooming <b>in</b> to zl 14, timeout: 0.0
notification@dmod: message: zooming <b>in</b> to zl 14, timeout: 0.0
Clicked, sending menu:screenClicked
Clicked, sending set:menu:main
modules/gui_modules/gui_gtk.py:235: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
python: cairo-surface.c:429: cairo_surface_destroy: Assertion `((*&(&surface->ref_count)->ref_count) > 0)' failed.
Aborted[Clicked, sending menu:screenClicked
Clicked, sending mapView:zoomIn
notification: message: zooming <b>in</b> to zl 14, timeout: 0.0
notification@dmod: message: zooming <b>in</b> to zl 14, timeout: 0.0
Clicked, sending menu:screenClicked
Clicked, sending set:menu:main
modules/gui_modules/gui_gtk.py:235: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  gtk.main()
python: cairo-surface.c:429: cairo_surface_destroy: Assertion `((*&(&surface->ref_count)->ref_count) > 0)' failed.
Aborted


petur 2013-06-02 06:08

Re: [Announce] modRana: a flexible GPS navigation system
 
I have started using modRana in the car more as I need to travel more for a project, so obviously here come some feature requests ;)

1) ability to show something else than a clock - for me this would be a speed indicator but I imagine other stuff can be put there too

2) support for speedcams like jspeed does

3) a quick way to load different preset configs, or a way to change tile caching based on map choice, or not cache overlays (or clear cache after certain age): I'm using the google traffic overlay sometimes and I look for an easy way to toggle that on/off, and I get the feeling the data is cached as sometimes I suspect I see stale data. Of course in the car I have no easy way to verify against a known working google traffic source like webbrowser (not while driving!)

Kossuth 2013-06-02 17:28

Re: [Announce] modRana: a flexible GPS navigation system
 
For Peturs first request:

In /home/user/.modrana folder there is file user_config,conf which you can edit and enable/disable various osd parts like the clock and speed. It is commented so you can easily see how it works.

rotoflex 2013-06-02 17:50

Re: [Announce] modRana: a flexible GPS navigation system
 
If you out it in bike mode it shows speed instead of the clock.

petur 2013-06-02 17:51

Re: [Announce] modRana: a flexible GPS navigation system
 
ok, scratch 1 ;)

thanks Kossuth

klinglerware 2013-06-02 18:12

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by rotoflex (Post 1349020)
If you out it in bike mode it shows speed instead of the clock.

Per Kossuth's post, you can play around with the config file to show what you want in each mode...

vi_ 2013-06-03 08:25

Re: [Announce] modRana: a flexible GPS navigation system
 
Quote:

Originally Posted by MartinK (Post 1345455)
Thanks !!! :)
Well, I still have to defend it & pass the masters exam. :)

Sending to print = going to nearby bookstore/copy-center and giving them the PDF, so they can print it and make two bound copies (I already ordered the book covers, which should be already prepared). No large scale printing runs (yet ! ;)).

Heh, I remember printing my bachelors thesis. The uni colour printers cost 30p/sheet. So a 70 page document was going to cost £21 per copy! And they wanted 2 copies!!!

BS I thought. Fortunately the uni printers where set up in such a way that your print job got sent to a central server, the monies deducted from your account then the job was sent to the printer.

After a bit of fiddling I figured out the IP address of the printer. I would then print my document to a file. Then I would use the LPR command from CMD and just send the print job strait to the printer.

Boom!

Free printing!


All times are GMT. The time now is 10:09.

vBulletin® Version 3.8.8