![]() |
Re: [Announce] modRana: a flexible GPS navigation system
How did you make it keep the display on? I am writing a photo frame app and can't figure out how to do that.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Maybe a CLI utility for starters. :) Quote:
http://modrana.org/trac/browser/trun...device_n900.py Especially these lines: http://modrana.org/trac/browser/trun...ce_n900.py#L49 http://modrana.org/trac/browser/trun...e_n900.py#L150 In a nutshell, you have to connect to the MCE through DBUS and pause blanking every <60s for another 60s. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
I have just released V0.25-5. :)
|
Re: [Announce] modRana: a flexible GPS navigation system
Martin,
just an enhancement idea: right now, maps get downloaded when they need to be displayed (if configured likewise). It would be great to increase the rectangle that triggers a download. Today I was driving around and modRana was downloading on-the-go. The link wasn't very good so downloads were not very fast, which made some tiles take some time before downloaded. In this use-case, having the download trigger earlier would cause blue/green tiles never to become visible - ie making sure they are downloaded before they come into view. I admit this does increase download amounts a bit. Maybe this can be optional or only done for the route ahead (if any). |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
All the parts needed are there... It's effectively a "download along route" for the currently selected route, without the need to save, find, re-load and hit the dozen button combos needed to do it. :) |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
When not routing maybe rectangle area or triangle where the forward area is further away and when routing then rectangle follows current route in advance. |
Re: [Announce] modRana: a flexible GPS navigation system
Another enhancement idea:
Right now, the location of the current position on the display is selectable (middle or 75% IIRC). For straight roads this works fine, but elsewhere, this could do better. How about a nifty way to locate the current position such that a maximum of the route ahead is shown on the screen? Maybe it could select between 5 positions (center + 75% towards each edge) depending on where the route is going... |
Re: [Announce] modRana: a flexible GPS navigation system
I just had a chance to test it with the new features yesterday. I just got a Bluetooth earpiece, and was using that and ModRana's voive directions to navigate. I now have a new request: If there is going to be a long distance before the next direction, coult it say how far away it is? For example, sayin "Drive 5 km, then turn right on Cherry St."
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
In fact most non-free routing apps do this - say: Take the highway and drive for 100km... |
Re: [Announce] modRana: a flexible GPS navigation system
I'm leaving for State for state of the map Europe (anyone else going ? :) ) on Friday and I'll process all your feedback when I get back on Sunday/Monday. :)
|
Re: [Announce] modRana: a flexible GPS navigation system
I use Modrana not in the least for its tracklogging options.
I cruised Israel by touring car and Modrana was perfectly usable to orientate and make tracklogs to keep a journal to match the photos I shot. In some films I shot I just aimed at my screenie now and then. I'm from the Nether lands so I was positively surprised that it did log the altitudes so well (Dead sea f.i. is 400 meters below sea level). I like hiking and sailing. While I use Modrana with Virtual Earth sat map for all navigation purposes I have a bulky Tomtom too. Sometimes in the car I use both:p --> Modrana for the photo-artistic side more or less zoomed out. On my Tomtom I have Offroad navigator installed and that has a function I would much like on Modrana as well: absolute directions for next waypoint. If it could show the angle to the next waypoint you would be able to make accurate decisions at sea (where you not only evaluate the absolute angle, but also stream, wind etc). Cumulus has this option but I much prefer Modrana UI. |
Re: [Announce] modRana: a flexible GPS navigation system
Hi, Have just come across modrana while trying to find info on rana - looks good so far! Anyway this looks like the place to be for info on modrana. I'm interested on getting modrana working on a PC and was wondering about the state of the gpsd module. I have a working usb gps on my laptop (running kubuntu), but (as with rana) the gps side of things are not working. From a quick look at the gps code eg
def gpsStatus(self): return(self.socket_cmd("M")) seems to be using the M command. At http://gpsd.berlios.de/protocol-transition.html it says "The old M command has no equivalent. Mode is reported in the TPV response." So perhaps the gpsd code is out of date, or am I missing something? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
X - distance to next turn If the next turn is more than 10 km away, announce at X - 2 km "next turn is in (X-2) km" - no turn description as no one would remember it anyway IMO. Any thoughts on the this & the trigger distances ? Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
SotM EU 2011 in Vienna was really nice. :)
I have found about the Kothic Python based offline map renderer that might just work with modRana and also gave an unplanned lightning talk about modRana. :D There was no visualizer, I had no N900 TV-out cable or slides so I just showed an old youtoube video and spoke about what features modRana has. :) Most of the conference talks are online as slides or recordings, as are many photos on flicker or in my SotMEU2011 gallery. :) Quote:
I really need to add this soon. :) @lawabb I sent you an email regarding this. :) Basically, support for new GPSD protocol is implemented in V0.26-5+ but I forgot to upgrade the non-Maemo packages on the modRana website. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
I promised to post some example from tomtom gui so here it goes
http://aijaa.com/v.php?i=000948347385.jpg 1. Animated compass needle showing your current direction in degrees. 2. Graphical sign for next turn & distance to turn 3. The number or name of the road your are turning 4. from top left. Calculated time for routed trip, current time, speed (sometimes in format xx/80 to show limit), total distance to end. On far right are the bars for satellite coverage. 5. Zoom buttons (Far away from each other to minimize occurrence of miss taps of wrong button) Of course you can just turn on/ off most of these from settings. IMO e.g. white text on blue background really really jumps out from screen. On N900 maybe the best compromise would be to use right or left edge of screen with column of ~200px |
Re: [Announce] modRana: a flexible GPS navigation system
Martin, quick question (because I'm too lazy to dig through the code right now!):
How hard would it be to allow turn-by-turn routes to be imported from a file? I'd like to be able to use Modrana to navigate bike rides where I take a complicated loop starting and ending at my house. I think I could construct the loop using Google Maps, if there were an easy way to transfer it to the phone and load it into Modrana. (Mappero has a well-hidden feature where you can ask it to start a route at the end of the previous route, which can be used for the same application, but it's pretty clumsy. I like the idea of doing it on my laptop with a big screen and mouse, and then sending the result off to the phone.) |
Re: [Announce] modRana: a flexible GPS navigation system
3 Attachment(s)
There is a problem with displaying Chinese characters when using POI search:
|
Re: [Announce] modRana: a flexible GPS navigation system
Terrific application and amazingly full of features considering how new it is.
As an interim measure until you manage to include a feature to import tile files into the database, I'm writing a Perl script to do the job. I can see from the structure of the SQLite databases that it's designed to have multiple store.sqlite.n files (presumably because otherwise the store could get ridiculously large: it looks like my 200 000 tile files would make for a file of about 2G). What logic do you use to decide when to create a new one? Is it when the last one gets to a certain size threshold? Once I've incorporated that into my script I'll post it here for anybody who might find it useful. Looks like it's a slow process if you've got a lot of tiles, though; my current test job has been running for about 90 minutes and has only imported 13 000 tiles. |
Re: [Announce] modRana: a flexible GPS navigation system
try copying the tiles to a pc and running your script there.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Actually, thanks to your speed based voice message triggering patch modRana no longer needs the Google provided triggering distances. So a simple GPX file with some points having routing messages (using the <cmt>, <desc> or eveng <extension> tag ? GPX 1.1 schema) should be now quite easily usable for routing. Some notes to this:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
each time I try routing I always get "no route found". can someone tell me where I am going wrong?
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Its currently quite basic so please let me know if you find any errors or omissions. Quote:
The Python code that does this in modRana is here: http://modrana.org/trac/browser/trun...eTiles.py#L200 Quote:
This way it could be placed in /usr/bin and would be easily callable as it would be in $PATH. :) Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Is there a problem in the latest version with displaying composite tiles?
I haven't used it in a long time, just using OSM, but tried just now a couple of times with OSM and Virtual Earth Sat and it just gets stuck on Loading... for each tile. Individually both work, but composite doesn't... |
Re: [Announce] modRana: a flexible GPS navigation system
It seems the display fails for overlaid images, when one doesn't have the tiles to display, i.e. you zoom too much in for instance, so that no sat images are available.
Whereas before it overlaid also the not-available tile info, not it just shows loading... But when I zoom out a level, it works. |
Re: [Announce] modRana: a flexible GPS navigation system
OK, I've got a working Perl script to import map tiles into the database.
At the moment, it won't run on the N900 itself, as I'm having a few problems getting the SQLite module to build on my scratchbox installation; I'll work on that over the next few days when I have spare time and see if I can get that working. Dependencies: You'll need to install the Perl DBI and DBD-SQLite modules. These should be available from your disto's repositories (otherwise, get them from CPAN). It took about 75 minutes to import my 200 000 tiles into the database on my dual-core Athlon machine; obviously this will vary depending on the speed of the machine it's done on. The script is interruptible - just hit Control-C and it'll shut down cleanly. Then restart at your leisure. Getting it to work on an OS other than Linux is left as an exercise for the reader, as I'm happily Microsoft-free. It demonstrates well the oft-mentioned clustering problem with FAT partitions; my tile files allocated 12.5G of space, whereas the store file is only 543M. Instructions: Download the script from http://www.beermad.org.uk/mapconvert Either copy your ~/MyDocs/.maps directory to your Linux box or mount your MyDocs partition on it. Try to preserve the timestamps if copying (as they're recorded in the database, I assume they're used to work out if a new copy of any tile is needed if they've changed on the tile server) - for example, if using scp: Code:
scp -pr ~/MyDocs/.maps mycomputer:/tmp Code:
cd /path/to/tile_directory If necessary, copy the lookup.sqlite and store.sqlite.* files back to your N900. If there are any tiles already in the database, it leaves them there and it doesn't try to over-write any if one it finds already exists (at some time I should change this so it does over-write if the tile file is newer). If you already have tiles in a database, I recommend making a copy first, just in case anything goes wrong. I've tested the script a fair bit, but can't guarantee something won't screw up. |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Like this, when tiles from one layer are missing, nothing is shown. :) This can be IMO improved:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Hi Martin,
From looking through the database code and structure to produce the migration script, I think I've found a few points where the code and schema could be more efficient.
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
When downloading a large area, modRana segfaults. Thought it was only on the N900, but the PC version exhibits the same behavior.
When trying to download a 40km area, I get an estimated download of 90 thousand tiles, modRana segfaults after cca 10 thousand tiles with: Code:
Batch tile dl working... (threads: 8) pending: 46496, done: 43730 |
Re: [Announce] modRana: a flexible GPS navigation system
Well, the crashes seem to be arbitrary... After a series of crashes at roughly 10 thou, I've had a download running now, which is 50 thou and going...
|
Re: [Announce] modRana: a flexible GPS navigation system
1) Track Logs: Any particular reason why they're stored under /opt? Also their file permissions are owned by root.
May I suggest that all user "generated" data and maybe config files are stored in the home directory or in MyDocs. 2) Another thing is modRana doesn't seem to reload the tracklogs directory. Eg I export a track from GPSJinni and copy it to the tracklogs directory whilst modRana is running. I need to restart modRana before it sees the copied file. Thanks! |
Re: [Announce] modRana: a flexible GPS navigation system
This downloading is a serious problem. I'm trying to download a 40km area just at the lowest level of zoom that OSM will go to, that's around 350k tiles, but it keeps crashing at 15k, which I already have.
How to get around it? Tried switching it to just save the tiles, so that I'd later import them into the sql db, but the same thing, just bombs, WTF? |
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
check out the updated data storage article for details about the new paths. In short:
Quote:
Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
Quote:
Quote:
Quote:
A hash with separators might work though: 1,2,17 vs 1,21,7 - would something like this be usable ? Also, would it be possible to maintain backward compatibility by adding this new indexes and still storing the old info ? Converting all the existing database files users might already have would be quite a headache and also some developers might be already working on supporting the format in its current form (IIRC the CloudGPS developer, maybe also some others). There is a version filed in the schema, so it would be possible to do something like this:
Quote:
Still, this seems more like a bug in Glib that is being triggered by modRana. There is even a post mentioning a similar behaviour (glib and long lists). Quote:
If this does not help, you can try some other batch download software, like Gmapcatcher and then importing the tiles with the SQLite import script. Quote:
|
Re: [Announce] modRana: a flexible GPS navigation system
I think it would be better to store everything under MyDocs/Modrana.
So, we'd have: MyDocs/Modrana/tracklogs MyDocs/Modrana/pois MyDocs/Modrana/config (not sure about this one, maybe it is better ~/.modrana) Of course, maps should be kept at MyDocs/.maps to share it with other applications. |
All times are GMT. The time now is 22:57. |
vBulletin® Version 3.8.8