|
2012-10-27
, 13:57
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1212
|
MartinK: would it be possible to include aeronautical charts (as for example http://www.chartbundle.com/charts/) as a map layers option?
The Following 5 Users Say Thank You to MartinK For This Useful Post: | ||
|
2012-10-27
, 14:07
|
Posts: 1,100 |
Thanked: 2,797 times |
Joined on Apr 2011
@ Netherlands
|
#1213
|
|
2012-10-27
, 15:31
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1214
|
MartinK,
I was pleasantly suprised by the option to use monav offine datafiles, as I usually don't use an internet connection when I am from home.
But I was not able to make it work till now. I downloaded the data (local car data) and extracted it in the map. And I can select that data somewhere in modRana. Nevertheless, the map keeps saying "Loading..." on a green background. Changing some other settings in modRana did not help.
Any idea what I am missing to fix this?
|
2012-11-01
, 12:12
|
Posts: 1,994 |
Thanked: 3,342 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#1216
|
Quick message...
Generally, I don't have Internet while on the move (or consider it expensive, or it is too slow). And, I generally don't want to depend on online services to help me with something which I could have done myself. Therefore, I have made a prototype offline routing: user gives one start, one end, and many middle points, and they are turned into a "route". It requires text input for each middle point, so that the user would write the speeches for espeak - like, "turn left", "turn right", "bus stop", "train", and so on.
I would be grateful if you could integrate this into one of the next versions. Thank you.
Though, I still haven't tested the system anywhere.
Turn-by-turn navigation interface does indeed work with handmade route. But I'm not sure whether the values of distance-meters are correct here.
self.addItem('route', 'Handmade', 'generic', 'set:menu:None|route:selectManyPoints')
The Following 2 Users Say Thank You to Wikiwide For This Useful Post: | ||
|
2012-11-02
, 18:21
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1217
|
why qml version is not working ? Other version is ok
Latest thumb version, kp v52
thanks
modrana-qml
This is the latest version of file mod_route.py, for ModRana version 0.36.6 git:c59ca30.
A line should also be added into mod_menu.py,as line 1100, to make the GUI icon for handmade route visible:
It's not a final, polished version, I suspect; first, even though overall length of route is likely correct, the lengths of steps are most likely completely wrong; second, there should be a way, while creating a route, to edit, or even delete, middle points, in case one of them is set incorrectly.Code:self.addItem('route', 'Handmade', 'generic', 'set:menu:None|route:selectManyPoints')
Best wishes to all of you.
__________________
Per aspera ad astra...
|
2012-11-03
, 01:39
|
Posts: 1,994 |
Thanked: 3,342 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#1218
|
Thanks ! I've merged it locally and it looks fine. I like how the routing buttons are hidden once the "routing" so that the don't block the map. I think I'll probably do something like this globally:What do you think ?
- once a route is found, show only a "current route" button
- when clicking current route, show two buttons: "info" & "edit"
- "info" shows the route info screen
- "edit" shows the routing buttons
The Following User Says Thank You to Wikiwide For This Useful Post: | ||
|
2012-11-05
, 01:33
|
Posts: 1,994 |
Thanked: 3,342 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#1219
|
Originally Posted by MartinKThank you. I like the idea, of minimalist interface and easy access to editing a route. Programming the editing of a route will not be easy, I expect - I don't know for sure.Thanks ! I've merged it locally and it looks fine. I like how the routing buttons are hidden once the "routing" so that the don't block the map. I think I'll probably do something like this globally:What do you think ?
- once a route is found, show only a "current route" button
- when clicking current route, show two buttons: "info" & "edit"
- "info" shows the route info screen
- "edit" shows the routing buttons
And, several lines from mod_route.py, connected to creating the route from points, should be moved to way.py as a function (akin to fromMonav... and fromGoogle...) so that mod_route.py would not have to import geo. And while length of the whole route is calculated correctly, distance between two steps is right now calculated incorrectly (taken from options, like, announcing distance). Just listing the inconsistencies I remember in my own code.
Best wishes.
__________________
Per aspera ad astra...
|
2012-11-05
, 01:39
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#1220
|
Oh, well... The distance between two steps, and therefore distance-from-start, are now calculated correctly. This latest version of mod_route.py is attached.
__________________
Per aspera ad astra...
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|
Generally, it should be harmless.
As modRana stores all important data in ~/.modrana, which is not deleted if you just uninstall the package without purging it, this should fix the warnings:
- check what tiles are visible
- check what are in the memory cache
- load those that aren't (from storage or from network)
- due to the high speed, generally less tiles will be already in cache and more will have to be loaded
- display the result
In the 1 second time window specified by the default screen refresh rate.Also, if position shift & map rotation are enabled, it has to generally do more work as:
- it has to figure out which tiles are covered by the rotated viewport
- generally, more tiles are visible than without rotation, that need to be loaded & rendered
- rotate and clip the result
All drawing is done with Cairo, which IIRC is not hardware accelerated on Fremantle.The updates should be triggered by position update (which should occur every second) - the more demanding the current "scene" is, the more lag from position update to screen redraw you get.
What can be dome about it:
BTW, you can also use:
options->Debug->Redrawing->Print redraw time to terminal to see how long the last screen redraw took. If it reports >1000 ms or if the value shows less than every second, tile loading & screen redraw is causing the lags. If not, the cause is somewhere else (N900 GPS software/hardware lag ?).
To check tile loading:
options->Debug->Tiles->tile loading status to terminal - this will print debugging info to the terminal for every tile that is loaded, including how long it took & what storage method was used.
The log might get quite verbose as a result & I'd guess you would probably not want to check it while drawing at such quite a high speed, sou you might wan't to enable: options->Debug->Loggin->Log modRana stdout to file
This should dump all the terminal output to /home/user/MyDocs/modrana_debug_logs/
Well, that was a bit exhaustive.
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
Last edited by MartinK; 2012-10-27 at 13:26.