![]() |
Re: Navit GPS (and libgarmin) for os2008
Thanks for the help. I went to the wiki and followed the directions for the most part. Got it to compile. Used sb2 ./autogen then sb2 ./maemo.configure then sb2 dpkg-buildpackage -rfakeroot -d -b from the garage instructions. I end up with a deb file one directory up.
However, it installs and runs, but the osd buttons don't work, and there are no icons on the menus. I'll keep plugin away at it. I'll try to post som of the output tomorrow. Bear with me as I work around work and family. Keep up the good work guys. It's getting better all the time. |
Re: Navit GPS (and libgarmin) for os2008
i've tried dwould's build and it's a lot faster than the svn one.
i got routing working using routeplaner maps, as far OSM maps doesn't have my village in it. (must learn how to use osm2go and contribute) some issues i have found: the screens turns off in my n810, is gerritv's fix for this in the build? route to town hangs if you try to select a street, must kill navit if i try to route at work this way, but it does the same with svn version too, could be an issue with routeplaner maps? now i'm going to try to understand better how to use navit and if i can get audio output trough espeak instead of flite, flite speaking italian sounds terrible :) two (dumb) questions: where am i supposed to put the icons-prescaled.gz i downloaded from gerritv's blog? where do i find an howto to have a scratchbox development environment? i do use arch linux but i could make it run in debian (better) or ubuntu in virtualbox or qemu. thanks a lot everybody |
Re: Navit GPS (and libgarmin) for os2008
Good morning, another snowy day here in the UK, so once again no chance to try things out properly...however, I can try to be helpful.
Quote:
Quote:
Basically the build process is supposed to run a kde app that converts svgs to the prescaled pngs. However I have not managed to get it installed under scratchbox in my ubuntu install. There is a similar app that I believe Gerrit uses to 'fake' this step, but it just segfaults for me. Anyway...basically Gerrit has providees the icons-prescaled.gz which you can extract in the navit/xpm folder either after installing a build that didn't have them. Or (in my case) in the source folder before building the deb in the first place. This then means all the icons work again. as for why the buttons don't work for you lemmy slender...erm I have no idea. My build may not have included Gerrits unblanking fix, I can't remember if it had already been integrated. Last I checked Gerrit's fixes where still waiting to get integrated. ernia: assuming espeak takes the same format as flite then that should be a trivial switch. However one thing I would like to investigate at some point is switching it to use pre-canned 'human-read' audio clips rather than text to speech. I have no idea if that would be better/worse performance wise. But I much prefer the quality of speech my tom-tom gives than the flite stuff. One idea I've had I might look into is something that actually takes the same parameters as flite, but first looks up a mapping table to see if it has a mp3 or somesuch to play for that phrase. And falls back to flite if it has none. Maybe I'll look at this when I'm satisfied with the overall performance as a navigation device. |
Re: Navit GPS (and libgarmin) for os2008
Quote:
about voices you run way faster than me :) |
Re: Navit GPS (and libgarmin) for os2008
HI Ernia,
Sorry I meant icons-prescaled that gerritv provided means you don't have to do any conversion. they are ready to use. icons-prescaled is a tar file. (but is missing a .tar extension) you need to run tar -xvf icons-prescaled (or if you haven't arleady gunzipped the file) tar -zxvf icons-prescaled.gz in order to extract all the icons inside your xpm folder. |
Re: Navit GPS (and libgarmin) for os2008
me dumb :o
the lack of the .tar extension fooled me. thanks a lot |
Re: Navit GPS (and libgarmin) for os2008
Me dumb so I uploaded a new prescaled icons file with tar,gz extension :-)
Also updated the wiki page at navit-prject to reflect present settings for compiling from SVN. Also added some pre-requisites, e.g. librsvg2 to pre scale icons. Please note that there have been extensive changes to the OSD code in recent days, one #navit user updated the OSD wiki page with some of the current info. I ran out of time again to update hte N8x0 page re: OSD but would suggest that future OSD and config stuff go onto the common area pages unless it is only for N8x0? Please see my blog post from Feb 4 for other details Lemmyslender, the icons should build if you use the patch in trac 288 along with SVN2001 or later. Also need to install librsvg2, see the navit wiki for N8x0.... Gerrit |
Re: Navit GPS (and libgarmin) for os2008
I just posted SVN2001 plus my patches to my blog (http://tech.visser-scully.ca) . Please read the blog entry carefully, the OSD configuration has changed considerably in the past few days!!!
Gerrit |
Re: Navit GPS (and libgarmin) for os2008
i downloaded navit_0.1.1-1_armel.deb.gz from gerrit's blog, gunzipped it and tried to install with dpkg -i navit_0.1.1-1_armel.deb
i got this error: /media/mmc2 # dpkg -i navit_0.1.1-1_armel.deb dpkg-deb: `navit_0.1.1-1_armel.deb' is not a debian format archive dpkg: error processing navit_0.1.1-1_armel.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: navit_0.1.1-1_armel.deb ls -l output: /media/mmc2 # ls -l navit_0.1.1-1_armel.deb -rw-r--r-- 1 user root 2918400 Feb 4 06:39 navit_0.1.1-1_armel.deb any help? EDIT it seems to me that navit_0.1.1-1_armel.deb.gz is a tar.gz file, i can extract its contents with tar xvf navit_0.1.1-1_armel.deb.gz. i would prefer treat it as a package, how do i convert it? |
Re: Navit GPS (and libgarmin) for os2008
I had a similar problem with Gerrits deb, didn't notice it needed uncompressing. I have now build svn2001 and updated the file available from my server:
http://demigoth.org/files/navit_0.1.1-1_armel.deb or you can get it from: http://download.navit-project.org/navit/n800/svn/ I'm not sure if there is anything materially different between the two at the moment. i've also updated the layouts on my blog: http://danielwould.wordpress.com/navit-stuff/ to use the slightly newer hooks for the buttons. the bottom of the 3 now sets a background colour. but for the moment I can't get the alpha channel to do anything so it's just solid red rather than semi-transparent. |
Re: Navit GPS (and libgarmin) for os2008
your deb does install and is faster then the svn-2001 i could get from dowloads.navit but i think that gerrit's patches aren't included, while the deb from gerrit's blog should include them. i think so because your navit doesn't close properly by tapping the x in the right up corner (navit leves gps on).
thanks a lot for your deb, i will test while driving home |
Re: Navit GPS (and libgarmin) for os2008
Gosh, miss a day or two around here and everything changes.
dwould thanks for download and updating your osd settings. I updated to 2001 this morning and none of the osd controls worked. Popped in here, little reading, little tweaking, and everything works again. I haven't done any looking yet, but what other color settings are there? Did they change the announcer_toggle as well? Should we compile a list of the OSD controls on the wiki - apart from the examples? |
Re: Navit GPS (and libgarmin) for os2008
Hi
Sorry, it was late when I built that .deb package, obviously messed it up. I will do another tonight, I know some of my patches are getting into SVN during the day. My tool set on Ubuntu for gzip etc is not totally familiar to me yet. I think by end of day the automated builds will have all of my changes. Which is a good thing because for the next 3 months I will have little or no internet connectivity. |
Re: Navit GPS (and libgarmin) for os2008
Lemmyslender, it is important for us to update the main Configuration and OSD pages first, then update the N8x0 specific page afterwards. Most or all of the OSD changes apply to all platforms.
Main wiki pages are at: OSD and Configuration. we should probably use the N8x0 page for 'what works best' on our screen and bit depth. (Dwould noted that our displays are only 16 bit which affects how well you can use the transparency etc) Gerrit |
Re: Navit GPS (and libgarmin) for os2008
I've just updated the deb available from my server:
http://demigoth.org/files/navit_0.1.1-1_armel.deb it has svn-2001 with Gerrit's fixes. Transparency now works properly (by setting a value between 00-ff at the end of a color setting (00 is transparent ff is opaque) |
Re: Navit GPS (and libgarmin) for os2008
Awesome work guys the new build is so much faster on the menus and just seems so much more responsive.
The only thing is I copied Daniels osd off his blog (Layout 3) and everything looks great but the zoom out button does not appear. The zoom in button is there and working. I have tried moving it about the screen using different co-ordinates but to no avail. Anyone else having this issue? Also I still cannot get the routing to work for Cyprus OSM, I can change the deafualt country on the town menu by pressing left and then up on the D pad which takes you to country but the next menu up is street instead of town and I cannot for the life of me get it to either change or recognise a town. Any one know ho to put one of those is_in tags into the map or config to see if that works. Again great work. |
Re: Navit GPS (and libgarmin) for os2008
casper27 you may have hit a timing window between me updating with one build that had that problem, and me updating with another that I believe does not.
basically a small bug stopped the png conversion happening for zoom_out and so the png isn't there. I hope if you take the version that's there now you'll be fine. |
Re: Navit GPS (and libgarmin) for os2008
@dwould
Uninstalled and reinstalled and there it is, cheers my friend and thanks for the prompt response. If only I could get this routing issue sorted I would be truly happy but the work gone into this is astounding from the first initial build :-) |
Re: Navit GPS (and libgarmin) for os2008
dwould-
Reading your blog, I adjusted my layout to include your skinny blue line on top of the road for routing. Very nice. I do have one change for you to consider. Looking through the layout, the last one "T@H" I saw a section that appeared to increase the text size of the road names. I had modified the last several items of the streets section for bigger text. I inserted your routing changes just above this and the names show up on top of the route (as suggested based on drawing order). Here are the modified lines I added (I don't think values above 15 for text size worked for me): <itemgra item_types="highway_exit_label" order="10-"> <circle color="#000000" radius="3" text_size="14"/> </itemgra> <itemgra item_types="highway_city,highway_land,street_4_cit y,street_4_land,street_n_lanes" order="10-18" zoom="0"> <text text_size="15"/> </itemgra> <itemgra item_types="street_2_city,street_2_land,street_3_c ity,street_3_land,ramp" order="11-18" zoom="0"> <text text_size="15"/> </itemgra> <itemgra item_types="street_nopass,street_0,street_1_city,s treet_1_land" order="12-18" zoom="0"> <text text_size="15"/> </itemgra> I don't know if zoom="0" is necessary. From what I read, it *should* make the road names visible at *all* zoom levels. |
Re: Navit GPS (and libgarmin) for os2008
Lemmyslender, thanks for the tip, I've updated the info on my blog. (and on my device).. just off to update the wiki..
|
Re: Navit GPS (and libgarmin) for os2008
Just want to say thanks to everyone contributing to this project. It's getting better everyday.
|
Re: Navit GPS (and libgarmin) for os2008
Alright, finally got it working compiling from source inside scratchbox. The original setup instructions I found in the garage installed Scratchbox 2. I think that this was giving me problems. I found a different tutorial to install scratchbox 1.x, using the older chinook version (but I found the proper files for installing diablo).
It is now compiling fine, but it won't do the icon scaling automatically. On the navit wiki gerritv mentions using fakeroot apt-get install librsvg2 to get it to scale the icons. I keep getting package not found. I did copy over gerritv's pre-scaled icons and it works fine with those. Thanks for the help everyone. One last question. How do I include gerritv's diff for the unblank on fullscreen? |
Re: Navit GPS (and libgarmin) for os2008
Hi Lemmyslender
It amazes me how easily one can forget the steps taken to get to a point of getting things to work :-( I try to keep notes on when and how I add to a dev environment. But I don't always remeber that I wrote them down. I have now updated the wiki to describe fully the installation of additional tools under Scratchbox. As to patching from diffs, the best thing l I can do is point you to the man page for 'patch', thankfully this is included in the Scratchbox environment. Gerrit |
Re: Navit GPS (and libgarmin) for os2008
Dwould, lemmyslender,
Keep up the good work on demonstrating potential OSD layouts and then documenting them in the wiki, this is time consuming work that benefits many others. |
Re: Navit GPS (and libgarmin) for os2008
Gerritv,
I updated the n800 page on navit wiki with new layout options and new picture. Lemmyslender I updated the button commands on your layout shown there also. I'm still trying to figure out the 'right' place to give re-odering examples for the layouts such as having the thin route line on top of the road. It's not n8*0 specific, perhaps the wiki needs a 'exmaple config tweaks' page or some such. |
Re: Navit GPS (and libgarmin) for os2008
gerritv- Thanks for the help and kind words.
dwould- Thanks for updating my layout. I have a new tweaked layout with the new settings that I will get up on the wiki along with a picture. I tested it yesterday, for the next turn distance and next street name, replacing the [1] with a 2 etc will give the distance/name of the next next turn. I think that some of this should be added to the On Screen Display page or at least a link to Config section of "our" page or vice versa. |
Re: Navit GPS (and libgarmin) for os2008
Can anyone tell me why when i open Navit, and the gps locks on, no map is displayed? I live in Indana in the US.
|
Re: Navit GPS (and libgarmin) for os2008
you should download from http://downloads.cloudmade.com/ a suitable map in the navit.bin format and edit /home/user/.navit/navit.xml to tell navit where your map is, something like this:
Code:
<mapset enabled="yes"> |
Re: Navit GPS (and libgarmin) for os2008
I use emelfm2 for a filemanager, and when i open /home/user/.navit/ ... there is no navit.xml file, only a file called center.txt
|
Re: Navit GPS (and libgarmin) for os2008
sorry, i've forgotten this:
Code:
cp /usr/share/navit/navit.xml /home/user/.navit/ |
Re: Navit GPS (and libgarmin) for os2008
Alright, thanks to gerritv's instructions, I have now compiled navit from source including scaling the icons. Big Thanks.
Question - I'd like the icons to be a little bigger in the menu. I added 60 to the lines in the wiki about scaling (32 48 60) and (8 16 32 48 60). I got a lot of icons for 60, except the gui icons? Any way to change them as well? If I've been following this right, the only change of gerritv's currently outstanding is the screen un-blank? The rest (icons, exiting, etc) have all been incorporated in the past several svn releases? I apt-got patch placed the diff-1 file (track 282) in the navit folder and ran patch -p0 diff-1 (I did place the other associated files in their respective directories). I let it go for 10 minutes or so, didn't see any action or changes. Compiled, don't think it worked. Any advice? |
Re: Navit GPS (and libgarmin) for os2008
Thanks, got it working now, i was wondering if you know, if its possible where i can get a proper .bin file of a google satellite view at what zoom level 3 would be in maemo mapper?
|
Re: Navit GPS (and libgarmin) for os2008
murky-
Navit only works with openstreetmaps, reisplanner, and some garmin maps. They use a vector format which is re-drawn on the fly for your current zoom level as you move about the map. It doesn't work with images like maemo mapper does. So, you won't be able to find the type of map you are looking for. Routing and re-routing (my most used feature) is possible because of the use of vector based maps. If you switched to image based maps, you would be limited to off-line routing like maemo mapper. |
Re: Navit GPS (and libgarmin) for os2008
@munky261
sorry, i could have been more clear @lemmyslender i'm using your osd layout from the wiki, i do like it and it's a good base to work on, thanks. has someone tweaked with the route element in navit.xml file? i'm testing navit from home to work and it doesn't let me do the usual route. speeds in the route statement are in some cases really slow, by changing some speeds from 10 or 30 to 50 (which is the usual low limit in italy) i got the same route i usually do. is that documented somewhere? i've been succesful in setting a route from italy to austria with reiseplaner maps, but the interface is pretty unintuitive, could i be helpful by putting how to do it in the wiki or here? (not now because i get up wery early tomorrow). thanks a lot to gerrit, dwould, lemmyslender and everybody is working on navit, i really like it. |
Re: Navit GPS (and libgarmin) for os2008
ernia-
glad you like my setup. I had to do the same thing to get realistic routing. I think I read about changing it in one of the bug reports. dwould submitted a bug report to use ismaxspeed on openstreetmaps when displaying the max speed. Hopefully, this would also get used in routing as well. |
Re: Navit GPS (and libgarmin) for os2008
Ernia, help with documenting on the wiki is always welcome, just sign up for a userid.
|
Re: Navit GPS (and libgarmin) for os2008
Lemmyslender
you said <Question - I'd like the icons to be a little bigger in the menu. I added 60 to the lines in the wiki about scaling (32 48 60) and (8 16 32 48 60). I got a lot of icons for 60, except the gui icons? Any way to change them as well?> The settings for the rest of the icons defaults to 8, 16, 32, 48, 96 in the configure.in file. You can modify that by using --enable-svg2png-scaling="your desired sizes" on the configure command line (along with the other options). I will try to add info on all of the possible configure parameters in the next week. (It is not an easy file to read but after lots of practice I can now modify it :-) |
Re: Navit GPS (and libgarmin) for os2008
Lemmyslender wrote :<I apt-got patch placed the diff-1 file (track 282) in the navit folder and ran patch -p0 diff-1 (I did place the other associated files in their respective directories). I let it go for 10 minutes or so, didn't see any action or changes. Compiled, don't think it worked. Any advice?>
That is the classic symptom of Linux/Unix command waiting for input. You need to add a '<' in front of the diff-1, i.e., it should read 'patch -p0 < diff-1'. You should place the diff-1 file in navit level dir, then run the command there. The diff-1 file has paths to subdirs. Gerritv |
Re: Navit GPS (and libgarmin) for os2008
gerritv- Thanks, I'll give that a try. I must have missed that, or actually, I think I tried it at the end of the line instead of the middle.
Ah-ha I added 60 to ~scaling-flag and ~scaling-nav. I will try adding to ~scaling. Currently as of svn2017 I don't get any icons for the next_turn on the osd, and toggle_announcer doesn't work any more (since the latest osd changes). Anyone else having these problems? (Volume shows up, but doesn't yet work, this is correct). |
Re: Navit GPS (and libgarmin) for os2008
Hi Team :-)
We are now also alive and well at Maemo The Click to Install there gets you the current SVN version. Note that this means that some items might not work for a day due to the rapid nature enhancements happening. (as of this AM the zoom buttons/icons are not working but that will be addressed shortly) Gerrit |
All times are GMT. The time now is 03:52. |
vBulletin® Version 3.8.8