![]() |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
There is no version.txt in /opt/modrana/ |
Re: [Announce] modRana: a flexible GPS navigation system
Just a heads-up to people: since I made my turn-announcement changes, I've noticed that I don't get proper (for some definition of "proper" :-D) announcements when turns come in quick succession. (It happens that the last three turns to my house are under 100m apart, so I get a lot of chances to test it.)
I'll look at the code when I get a chance and see if I figure out why I broke it or how to improve it. Meanwhile, if your map shows a bunch of turns close together, be alert! |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Some more things to try:
Quote:
Quote:
You can try to run this in the terminal to manually update your repository listing, install libmagic and then modrana: Code:
sudo gainroot Quote:
IMHO your patch only increases the distance - so maybe it just increases the distance for short segments to be larger than their length, so that their announcement is triggered at once when switching to the segment and then being skipped because the last announcement is still playing ? Quote:
I have done some road testing the new code:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
I agree with the "more announcements" thing. When we moved to New Zealand we rented a car with a GPS, and it would often announce the next turn many km ahead and then give a sort of count down. It was very helpful. The rounding is a really good idea; "In 321 meters" is kind of silly when you're traveling at 20+ meters per second. The trick will be to make it sensible at different speeds, short distances, and in both metric and U.S. units. I tried to fiddle with some advanced rounding code in this post and quickly discovered that it's a bit trickier than what I want to do before breakfast! :-( |
Re: [Announce] modRana: a flexible GPS navigation system
Reinstalling didn't fix it. Python-dbus was already installed/latest version.
Tried again in CLI mode with latest version, this time without typing sudo gainroot. Seems to be complaining about a mod_location module. Any help? ~ $ modrana == modRana Starting == device string (first parameter): n900 size allocate <GdkRectangle at 0x2ca488> error in screen invalidating function exception: 'NoneType' object has no attribute 'invalidate_rect' importing modules: * icons: Draw icons (240.00 ms) * info: A modRana information handling module (0.00 ms) * updateTiles: Update stored map tiles. (0.00 ms) * example: A sample pyroute module (0.00 ms) * projection: Projection code (lat/long to screen conversions) (40.00 ms) * showPOI: Show POI on the map and in the menu. (0.00 ms) * animatedMapView: A sample pyroute module (10.00 ms) * showGPX: draws a GPX track on the map (10.00 ms) * mapView: Controls the view being displayed on the map (0.00 ms) * search: Search for POI (10.00 ms) * voice: Handle text to speach. (40.00 ms) * clickHandler: handle mouse clicks (10.00 ms) * input: Handle input from keyboard, buttons, etc. (0.00 ms) * units: A module handling unit conversions and dispplaying correct units acording to current settings. (10.00 ms) * askMenu: A sample pyroute module (10.00 ms) * tracklog: Record tracklogs (620.00 ms) * stats: Handles messages (0.00 ms) ** using tile folder: /home/user/MyDocs/.maps/ ** ** using tracklog folder: tracklogs/ ** * config: Handle configuration, options, and setup (30.00 ms) * route: Routes (20.00 ms) * options: Handle options (20.00 ms) * notification: This module provides notification support. (10.00 ms) * storeTiles: Single-file-fs tile storage (40.00 ms) * keys: A keyboard input handling module (0.00 ms) * log: A modRana logging module (0.00 ms) * menu: Handle menus (30.00 ms) * showOSD: Draw OSD (On Screen Display). (20.00 ms) * interfaceFeedback: A sample pyroute module (10.00 ms) * loadTracklogs: A sample pyroute module (10.00 ms) * cron: A timing and sheduling module for modRana. (0.00 ms) * messages: Handles messages (10.00 ms) * positionMarker: A sample pyroute module (0.00 ms) * storePOI: Store POI data. (10.00 ms) * routeProfile: Creates a route profile (an elevation chart) (10.00 ms) modRana: module: mod_location/location failed to load Traceback (most recent call last): File "modrana.py", line 169, in _loadModule a = __import__(importName) File "/opt/modrana/modules/mod_location.py", line 22, in <module> import gps_module as gps File "/opt/modrana/modules/gps_module/__init__.py", line 9, in <module> from gps import * File "/opt/modrana/modules/gps_module/gps.py", line 18, in <module> from client import * File "/opt/modrana/modules/gps_module/client.py", line 9, in <module> import simplejson as json # For Python 2.4 and 2.5 ImportError: No module named simplejson * tracklogManager: Module for managing tracklogs (10.00 ms) * turnByTurn: A turn by turn navigation module. (0.00 ms) * textEntry: A module for hadnling text entry. (10.00 ms) googlemaps: using integrated non-binary simplejson, instal proper simplejson package for better speed * onlineServices: Module for communication with various online services. (240.00 ms) * mapTiles: Display map images (390.00 ms) * mapData: Handle downloading of map data (50.00 ms) * sketch: Sketching functionality (0.00 ms) * display: A platform independent display device control module (20.00 ms) N900: dbus initialized True N900: key centred toggled N900: key rotateMap toggled N900: key soundEnabled toggled N900: application menu added N900 device specific module initialized * device: A N900 modRana device-specific module (250.00 ms) Loaded all modules in 2250.00 ms, initialising True icons: switched theme to: default connection to POI db in /home/user/MyDocs/.maps//modrana_poi.db estabilshed display: keep display ON -> always N900 rotation object initialized N900: rotation object loaded ** making a list of available tracklogs * using this tracklog folder: tracklogs/ * does it exist ? True * there are 12 tracklogs available mapView: switching map drag mode to default mapView: switching centering disable treshold to 2048 Initialization complete in 160.00 ms ** modRana startup timing ** # device: Nokia N900 (n900) * modRana start (0 ms), 0/6514 ms * imports done (811 ms), 811/6514 ms * GUI creation (21 ms), 832/6514 ms * window created (310 ms), 1142/6514 ms * map widget created (6 ms), 1148/6514 ms * window finalized (23 ms), 1171/6514 ms * all modules loaded (5344 ms), 6514/6514 ms ** whole startup: 6514 ms ** display: redraw ON (window not hidden or minimised) display: redraw ON (N900 window is active) size allocate <GdkRectangle at 0x555e68> display: redraw OFF (N900 window is not active) display: redraw ON (N900 window is active) Shutting-down modules storePOI: disconnecting from db shutdown imminent, commiting all uncommited tiles storeTiles: sqlite committ OK |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
scroll:~# apt-get install simplejson Reading package lists... Done Building dependency tree Reading state information... Done Package simplejson is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package simplejson has no installation candidate A bit of Googling reveals that it's actually named python-simplejson. I suspect the problem might be a wrong dependency in Modrana? Anyway, you should be able to solve it by doing (as root): apt-get install python-simplejson Good luck! |
Re: [Announce] modRana: a flexible GPS navigation system
hello, I didn't read whole 740 post so, sorry if it is being asked twice,
How can I download tiles to my pc? I should find a way to do that because I chose around here, 80 km, +8 down, +5 up (or sth like that), modrana says ~355000 tiles to be downloaded. I left my N900 to download them last night, at the morning I saw it downloaded 30k of them, AND was downloading too slow if I compare to beginning. So, I need to download them to my pc then should move them to n900. Tiles are in /home/user/MyDocs/.maps/OpenStreetMap I , I guess ? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
I have added python-json as a dependency and a pure-python version as a backup (well, it was actually already there for the googlemaps module, but I made it accessible for all modules). All this should be in the in V0.26-4 that was released a few hours ago. @on PC tile download Check out this post and maybe posts around it. :) I think there really needs to be a wiki page about this. :D |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
All times are GMT. The time now is 15:22. |
vBulletin® Version 3.8.8