![]() |
Re: [Announce] modRana: a flexible GPS navigation system
How good is it for tracking my time on a race track? Racechrono doesn't have maemo support (and I doubt it never will) and I have a spare N900 which I could mount on my bike to track my lap times. I've been searching for a software for that but haven't found one yet.
Read the the thread and couldn't find an answer so I'm just asking :rolleyes: |
Re: [Announce] modRana: a flexible GPS navigation system
"This looks like outdated Qt version.
( the PinchArea is available in QML since Qt 4.7.4). Do you have CSSU installed ? From the log it looks like you are just running PR 1.3, which has only Qt 4.7.0. Basically -> no, CSSU == no modRana QML (but you can still use modRana with the classic GUI just fine" A Follow-up for Martin to your comments above: My ignorance! I had installed CSSU Features & not the full CSSU! Once I installed the full CSSU, modRana QML works perfectly now. Thanx :D |
Re: [Announce] modRana: a flexible GPS navigation system
Hi Martin, An issue I cannot solve in modRana.... When I plot a route (as per your instructions - Getting a route), from current position to the destination and I click on the "route" button, the screen shows geocoding start and starts counting up in seconds but nothing happens? Any ideas as to a solution?
Thanx :confused: |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quick reply...
Not sure if it's the issue, Evok, but routing is (at least, now) only possible if Internet (more precisely, Google routing) is available. As far as I know, absence of Internet will not cancel the routing, so when Internet is turned on, the route is found (even if it is several hours later? as long as you haven't cancelled it by then). If the behaviour ("geocoding..." instead of routing) persists when Internet is available, see if there are any errors logged. (Shrugging - I don't use routing (especially online routing) much (if at all), so I can only hope my advice helps). |
Re: [Announce] modRana: a flexible GPS navigation system
Final outcome.... Thanks to 'Wikiwide' pointing me in the right direction and for Martins patience, I have now managed to get EVERYTHING to work in modRana, including spoken directions in English (using eSpeak) & more importantly the routing between two points. I think the problem was that I didn't realize that there HAD to be an internet connection for 'getting a route' (I used my home WiFi link)
Many thanx for a great APP. :cool: |
Re: [Announce] modRana: a flexible GPS navigation system
Can't wait for Monav offline routing support :) Thumbs up!
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Regarding Monav - do you (or someone else) know whats the status of Monav (or its routing daemon) on Fremantle ? I know that Marble is using it, but thats probably directly through the C++ API. Does Monav have a working CLI interface or Python bindings so that modRana can also interface with it ? |
Re: [Announce] modRana: a flexible GPS navigation system
Oh and by the way...
modRana V0.33.1 has been released ! Whats new ?
Automatic rerouting ModRana now automatically reroutes if you leave the from the route. How does it work ? While following a route, modRana checks every 5 seconds the distance from all line segments that the route consists of and remembers the minimum distance. If the minimum distance is more than a given threshold (30 meters by default, can be changed in options->Navigation->Rerouting), it does 3 more checks in 1 second intervals, to weed out any temporary diversions or temporary GPS errors. If all 3 checks are positive, rerouting is triggered. In short - the threshold defines a corridor around the route, if you leave it, modRana will reroute. To prevent unnecessary reroutes, automatic rerouting is not activated until you "reach" the route for the first time. To "reach" a route just enter its "corridor". Automatic rerouting is also disabled once you reach the destination of your current route. How to check if automatic rerouting is enabled ? Check out the navigation info box, there should be automatic rerouting enabled in the lower left corner. How to completely disable automatic rerouting ? In options->Navigation->Rerouting set Rerouting trigger distance to disabled. Faster online routing Start and destination address geocoding has been decoupled from online route search, making online route lookups faster. The address info is not lost - modRana simply triggers start & destination geocoding once the route detail menu is first entered. Miscantelous
|
Re: [Announce] modRana: a flexible GPS navigation system
why do i get a grey screen?
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I have an issue with recording a track: as I understood it, modrana should record a point every single second and save the file all 10 seconds per default, that's right? That does not work for me, it only records points when I switch on the display. When I lock the device and continue traveling, the next time I unlock the device, it shows me my current position and a straight line from the last point to the current one without having recorded any points in between. There were some issues concerning recording in the past years and as I told you it is a clean reinstall, could anyone try to reproduce this to verify it is a bug? CU & HANW Michael |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
thanks for the reply martink i appreciate it. is there a log for when the application starts up? either way the location indicator stays in the top left, no tiles load but the gps gets a lock. im not sure what to do.
thanks |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Code:
modrana |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
/home/user # modrana
== modRana Starting == modRana: loading options process 8740: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757. This is normally a bug in some application using the D-Bus library. process 8740: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721. This is normally a bug in some application using the D-Bus library. Aborted heres the output, thanks |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
IMHO, just using a HDOP multiple won't work - if you have a very good HDOP (say <1 m), the real route differing just 3 meters from the computed one would trigger rerouting. A very bad HDOP (>100m) would result in a 300+ m corridor. I made a simple image, illustrating all the different terms: http://www.modrana.org/images/modRana_rerouting.png The corridor around the route has the width of 2 rerouting thresholds and the real world route slightly differs from the computed one. Possible algorithms that take HDOP into account: Algorithm nr. 1
Threshold is increased only slightly. EXAMPLE: 30 + 3 Bad HDOP (100 m) Threshold increase should compensate for big HDOP. EXAMPLE: 30 + 100 Algorithm nr. 2
Threshold is not increased. EXAMPLE: 30 Bad HDOP (100 m) HDOP is added to the threshold. EXAMPLE: 30 + 100 Algorithm nr. 3:
Threshold is not increased. EXAMPLE: 30 Bad HDOP(3 m) Threshold is 2*HDOP. EXAMPLE: 200 Algorithm nr. 4:
Threshold is not increased. EXAMPLE: 30 Bad HDOP(3 m) Threshold is 3*HDOP. EXAMPLE: 300 So what do you think ? Which one is the best and/or better algorithms come to your mind ? :) And thanks a lot for the donation ! :D I'm sending your postcard right away. :) Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
~ $ modrana
== modRana Starting == modRana: loading options N900: dbus initialized N900 device specific module initialized * device: A N900 modRana device-specific module (850.00 ms) GTK GUI: size allocation <GdkRectangle at 0x3133c0> error in screen invalidating functionexception: 'NoneType' object has no attribute 'invalidate_rect' * gui: A GTK GUI module (170.00 ms) importing modules: * menu: Handle menus (50.00 ms) * location: Supplies position info from a position source (0.00 ms) * askMenu: A sample pyroute module (0.00 ms) * interfaceFeedback: A sample pyroute module (0.00 ms) * animatedMapView: A sample pyroute module (10.00 ms) * icons: Draw icons (10.00 ms) * cron: A GTK timing and scheduling module for modRana (0.00 ms) * positionMarker: A sample pyroute module (10.00 ms) * stats: Handles messages (10.00 ms) * onlineServices: A module for talking to various online services (200.00 ms) * options: Handle options (0.00 ms) * input: Handle input from keyboard, buttons, etc. (0.00 ms) @ mapTiles: map folder path: /home/user/MyDocs/.maps/ * mapTiles: Display map images (180.00 ms) * display: A platform independent display device control module (230.00 ms) * log: A modRana logging module (10.00 ms) * projection: Projection code (lat/long to screen conversions) (0.00 ms) * loadTracklogs: A sample pyroute module (10.00 ms) * notification: This module provides notification support. (0.00 ms) * route: Routes (100.00 ms) * mapData: Handle downloading of map data (40.00 ms) @ storePOI: POI database path: @ /home/user/MyDocs/.maps/modrana_poi.db @ storePOI: connection to POI db established * storePOI: Store POI data. (50.00 ms) * storeTiles: Single-file-fs tile storage (10.00 ms) * markers: A module handling markers on the map. (0.00 ms) * example: A sample pyroute module (10.00 ms) * units: a unit handling module (0.00 ms) * showPOI: Show POI on the map and in the menu. (10.00 ms) * info: A modRana information handling module (0.00 ms) * showGPX: draws a GPX track on the map (0.00 ms) * updateTiles: Update stored map tiles. (0.00 ms) * search: Search for POI (0.00 ms) * clickHandler: handle mouse clicks (20.00 ms) * messages: Handles messages (10.00 ms) * sketch: Sketching functionality (0.00 ms) * tracklog: Record tracklogs (0.00 ms) * textEntry: A module for handling text entry. (0.00 ms) * routeProfile: Creates a route profile (an elevation chart) (30.00 ms) * turnByTurn: A turn by turn navigation module. (0.00 ms) * keys: A keyboard input handling module (0.00 ms) * voice: Handle text to speech. (10.00 ms) * tracklogManager: Module for managing tracklogs (0.00 ms) * config: Handle configuration, options, and setup (0.00 ms) * showOSD: Draw OSD (On Screen Display). (0.00 ms) * tileserver: A modRana built-in tileserver (30.00 ms) * mapView: Controls the view being displayed on the map (0.00 ms) Loaded all modules in 1070.00 ms, initialising icons: switched theme to: default location: starting GPSD 1 second timer location: enabling location ** n900 - location: - GPS successfully activated ** n900 - location: activated N900 rotation object initialized N900: rotation object loaded True N900: key centred toggled N900: key rotateMap toggled N900: application menu added ** making a list of available tracklogs * using this tracklog folder: * /home/user/MyDocs/tracklogs * there are 10 tracklogs available ** mapView: switching map drag mode to default mapView: switching centering disable threshold to 2048 display: keep display ON -> while there is a GPS fix Initialization complete in 250.00 ms ** modRana startup timing ** # device: Nokia N900 (n900) * modRana start (0 ms), 0/8260 ms * imports done (634 ms), 634/8260 ms * GUI creation (0 ms), 634/8260 ms * window created (1988 ms), 2623/8260 ms * map widget created (1 ms), 2624/8260 ms * window finalized (54 ms), 2678/8260 ms * all modules loaded (3470 ms), 6148/8260 ms * all modules initialized (2113 ms), 8260/8260 ms ** whole startup: 8260 ms ** display: redraw ON (window not hidden or minimised) TypeError: update() takes exactly 1 argument (2 given) display: redraw ON (N900 window is active) GTK GUI: size allocation <GdkRectangle at 0x2f28c0> mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division icons: not found mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division mapTiles: exception while drawing the map layer: float division Traceback (most recent call last): File "/opt/modrana/modules/mod_mapTiles.py", line 498, in drawMap cx1,cy1 = (sw*(cx-px1)/pdx,sh*(cy-py1)/pdy) #this is basically the pxpy2xy function from mod_projection inlined ZeroDivisionError: float division display: redraw OFF (N900 window is not active) boom! thanks again, appreciate the help |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
BTW, .modrana is a hidden folder, that is normally not visible from the file manager. But you can easily copy the file to MyDocs like this in the terminal: Code:
cp /home/user/.modrana/options.bin /home/user/MyDocs/ Code:
mv /home/user/.modrana/options.bin /home/user/MyDocs/ |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
So I looked for options.bin as well, but it wasnīt there to be found. I had [Show hidden files] on btw. |
Re: [Announce] modRana: a flexible GPS navigation system
sent in a PM
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
I like your algorithm 4. You set a floor below which the threshold cannot fall, and have no discontinuity at the point where you start using HDOP information. If the HDOP is a one standard deviation radius, then 3 standard deviations is a good threshold. It's nice that you're adding more parameters for us to tweak. One little advantage our poor orphaned OS has is that at this point it is likely that nearly all N900 owners are geeks. Somebody writing an Android app can't assume his users like to fiddle with the app's parameters, but we can. |
Re: [Announce] modRana: a flexible GPS navigation system
Is it possible to store downloaded tiles somewhere else then in .maps folder? (i do not want them to be shared with mappero)
|
Re: [Announce] modRana: a flexible GPS navigation system
MartinK, were you able to find anything out using the file i sent?
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Well, I did not find it in the settings. Just option to use sqlite or not. Am I being blind? If so, could you be more specific where in the settings it is hidden. |
Re: [Announce] modRana: a flexible GPS navigation system
Storage location for the map tiles is defined in an editable configuration file.
I can't remember the name of the file or its location, but it's mentioned somewhere in this thread. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Thanks! |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
(It's quite heavily documented) There is also another configuration file, used for configuring map layers: map_config.conf |
Re: [Announce] modRana: a flexible GPS navigation system
modRana V0.34.1 has been released !
Well, it was actually released yesterday. :) Whats new ? Code:
* more efficient and robust track logging |
Re: [Announce] modRana: a flexible GPS navigation system
I encounter this error all the time:
Exception in thread Thread-22: Traceback (most recent call last): File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner self.run() File "/opt/modrana/modules/mod_mapTiles.py", line 1042, in run self.callback.storeInMemmory(tileDownloadFailedSur face,self.name,'semiPermanentError',expireTimestam p) UnboundLocalError: local variable 'tileDownloadFailedSurface' referenced before assignment It appear when the tile get downloaded and prepare to show, the screen just appear "loading..." and no map shown. And regarding language routing, I am a native Vietnamese speaker, please tell me what I can to to make Modrana speaks Vietnameses :) as English voice cannot pronounce Vietnamese street names |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
BTW, any language supported by both Google & Espeak can be used in modRana. Any other requests ? :) |
Re: [Announce] modRana: a flexible GPS navigation system
So I've released an update (V0.34.4, that has Vietnamese language support for directions (looks like it was actually already here, but a bug in paged item menu caused that it was not visible in the menu :) ) and directions filter improvements from Geoff Kuenning (who already helped to improve spoken directions last summer). Thanks Geoff ! :)
How to enable spoken direction in Vietnamese (or any other supported language) ? Select the language in Options->Navigation->Language->Language for directions. :) Please not that the distance announcements are not (yet) translated and are in English for all languages. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Switching between Modes goes fairly well, too. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
First, I accidentally use volume button to change volume,but instead I change the zoom level to around 56. there is no map at this zoom level, so there was a http exception you catched this exception,however, the variable are not assigned, that's what the error show. So I fixed by change zoom level and also put line 1043 and 1044 before line 1042. Hope this helps |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
modRana V0.34.5 has been released
Most importantly, this version fixes some issue that Saera uses had with the CLI initiated search queries (Saera currently uses modRana to handle searches for various kinds of food in the near vicinity). Other than that, search queries should be now more robust and generally a bit better to use. I've also fixed a bug, that caused the cancel button of the search work-in-progress overlay to also trigger any other underlying buttons (like for example the centering toggle button). Changelog: Code:
* fix CLI search failing if the device is offline when the search is initiated |
Re: [Announce] modRana: a flexible GPS navigation system
4 Attachment(s)
Hi MartinK,
thanks for your continous work on this project! First of all, modrana-qml is no longer workling for me, see attached text-file for the output when started in xterm. Much more important for me is the display of tracks generated by the webiste http://www.gpsies.com. I use these for planing bicycle-tours and follow the tracks to not get lost somewhere, recording it at the same time to improve OSMīs data when necessary. When I create a track there and display it at modrana, it looks like this: http://talk.maemo.org/attachment.php...1&d=1347009537 You can see a wrong straight line between some trackpoints. In this track there are only two, but I also had tracks with three or five of them making it hard to figure out what is the right way to go :mad: In comparison to that, Mappero shows the track correctly: http://talk.maemo.org/attachment.php...1&d=1347009730 I attached the zipped gpx-File, hope you can reproduce this issue. CU Michael |
All times are GMT. The time now is 10:09. |
vBulletin® Version 3.8.8