![]() |
Re: Navit on N900
Quote:
You can activate it in the navit.xml shipped with the latest version. CU Michael |
Re: Navit on N900
Quote:
1. graphics type, where only gtk_drawing_area is working, right? What would be the benefit of qt_painter, would it be faster? 2. gui type with options qml, internal and gtk. Internal is the only working for me. Would qml be better, if qt_painter worked, or is there no conection? |
Re: Navit on N900
As I am next to my computer and not in a car, I have not tried navit in practice yet, so I have a couple practical questions also:
1) Is it possible to display the speed of the vehicle from GPS? I cannot find anything in the settings. As I am indoors, GPS is not locked, so I do not know if it changes then. 2) How sound and directions work? I set a destination and set my position (not through GPS but manually, GPS is not locked), the route gets displayed, but I cannot find directions anywhere and the phone does not speak. I found in this thread the following speech.xml content I am using. Code:
<speech type="cmdline" data="echo '%s' | espeak -ven-us+f2" cps="1"/>3) Is it possible to turn off points of interests from view? There are so many in my city (Prague) that I can only barely see the roads underneath them. 4) And the last one. If I take a wrong turn, does it reroute itself automatically? |
Re: Navit on N900
1 Attachment(s)
Quote:
1) Yes, OSD must be configured for this. 2) Sound still does not work for me. OSD must be configured directions. See below for example. 3) I believe it is possible. Have a look here. Items in navit.xml called itemgra can be deleted and then they are not shown. I think, I actually did not try this. 4) Yes, it does. Anyway, what I learnt is that one needs to look up the navit wiki, even though the information there sometimes does not seem to be correct (i.e. scale layout item does not work for me). I went ahead and created an updated layout based on layouts for N770-810. I attach the neccesary files. I created custom 72x72 icons, they need to be extracted into /opt/navit/share/navit/xpm/ OSD.xml is based on files here (mainly the third one). navit.xml is modified from the version by the user arne.anka form post #566 of this forum. The changes are mainly to lines beginning: "<navit" (I changed the default gps position, lowered initial zoom level, orientation follows vehicle, zoom is adjusted according to the vehicle's speed and and it starts in 3D) and "<gui type" (it stars in fullscreen). The documentation to that is here However, I still do not understand why sound does not work. What is your working configuration (both navit.xml and speech.xml?) |
Re: Navit on N900
Quote:
You can look up details in this thread not long ago if you're interested. Cheers, Michael |
Re: Navit on N900
Quote:
I have seen that you posted about making sound work with navit. I tried to replicate it but with no success. Do I understand it correctly that your speech.xml is as follows: Code:
<speech type="cmdline" data="espeak -vde+m2+croak '%s'" cps="10"/>and the relevant snippet in navit.xml is: Code:
<speech type="espeak" enabled="no"/> |
Re: Navit on N900
Quote:
In my case, navit speaks when I start routing i.e. "turn right in 100m" or something. Is your espeak working properly? You can test it in the terminal with Code:
espeak -vde+m2+croak 'hello' cps="10"HTH & CU Michael |
Re: Navit on N900
Quote:
should work ;) ps: i have also a speaker icon on my OSD, to enable/disable the speech by tapping on it |
Re: Navit on N900
Gianko: yes, I have that too. Even though I didn't make it so that the icon would indicate whether sonud is off or not (speaker_toggle or how it is named does not work).
I actually tried it outside yesterday and as soon as it locked GPS position, it started to speak. Apparently, it does not speak when GPS is not locked. Only I have the phone set to Czech interface and wanted navit so speak English - the result is it reads Czech instructions with english accent, which is barely understandable. I have to found out how to make it speak english proper. |
Re: Navit on N900
2 Attachment(s)
So I fiddled with it some more and now it speaks as it should. I needed to set environment language to english for navit. I created navit_en in /usr/bin:
Code:
#!/bin/shAnd then I made a shortcut . Editing navit .desktop file for some reason did not work. I also made adjustments to my OSD layout and not I think it works well. I now use 96x96 icons, as they are large so one can better use them while driving. I added clock and I made speed bigger and without units (as I know it is in km/h, I am interested in the number. See attached screenshot. Anyway, I am attaching my working setup now (just download it and unzip to .navit/ ). |
Re: Navit on N900
Quote:
there is a list of active pois here: http://wiki.navit-project.org/index....avit/map_items and a link to the file osm.c: https://navit.svn.sourceforge.net/sv.../maptool/osm.c but i like to have the missing: bike_sharing, car_sharing, bicycle_parking, pubs, etc. how can we add these? |
Re: Navit on N900
I uploaded 5222 to bokomoko.de
No big changes just rebuilt latest svn. Thanks, Rainer |
Re: Navit on N900
Quote:
I tried something similar with mtb:scale and this is what I did and my conclusions. I added entries like + "w highway=path,mtb:scale=0 pmtb_scale0\n" into osm.c If you want to add POIs like pub, you need to extend osm.c, compile maptool, create your custom maps with maptool, and then extend navit.xml to allow navit to display them. If you want to make new ways and make them routable, you need to insert in addition The only navit version I have so far for displaying and routing these new ways, I had to add in addition in item_def.h lines like +ITEM(pmtb_scale0) Thanks, Rainer PS: There is no need to build for the n900, you can build navit and maptool on a regular linux installation much easier. If you have good patches submit them upstream, if the are very useful for a wide range of users, I would be happy to include them in the n900 build, even when they are not yet included (reviewed would be good though) upstream. |
Re: Navit on N900
1 Attachment(s)
Quote:
I found your speech.active-button was not working for me, I found this in the wiki: Code:
<osd enabled="yes" type="toggle_announcer" x="10" y="50" w="70" h="70" icon_src="$NAVIT_SHAREDIR/xpm/%s_70_70.png" />The only problem with this one: if you switch from fullscreen to windowed-mode, toggle there and switch back, the announcer does not work any more at all :confused:. If anyone wants to try out, I attached the OSD.xml zipped. CU & HAND Michael |
Re: Navit on N900
Quote:
ps: and what if we want to see more tags when tapping on show attributes for a poi? usually i can see: name and osm_id, but is it possible, for example, to visualize tag capacity for a poi amenity=parking? or opening_hours and contact info for pois like restaurants? for example address, website, phone? ...if has been added by some osmapper ofcourse :) |
Re: Navit on N900
Quote:
Now that is strange, toggle_announcer does not work for me:-). BTW: does night/day layout switching work for anybody? (if so, how?) |
Re: Navit on N900
Quote:
using ubuntu i dowloaded sources and modified osm.c: i just added a new line with "? amenity=bicycle_parking poi_bicycle_parking\n" after static char *attrmap={ (line 376) just this? then i compiled navit successfully, and made a map.bin from osm.xml using maptool now how can i modify navit.xml ? i tried to add the poi in the bike layout but no results, i added a line <itemgra item_types="poi_bicycle_parking" order="14-"> <icon src="bench.png"/> </itemgra> i put bench.png just to try as i don't have a bikeparking.png icon, and i don't know where should i put the new icons ps:sorry for bit OT but maybe is of use for other navit users...and in navit irc channel nobody replies :) |
Re: Navit on N900
now im able to add more POIs thanks to this guide: http://wiki.navit-project.org/index...._POIs#Hard_way
is not so complicated so if you want i can make svg icons of some new pois and add patches for next release |
Re: Navit on N900
I uploaded revision 5440 of navit to bokomoko.
I has support for mtb_scale mountainbike tracks. Since the navit maps generated from osm do not have these paths, nobody should notice. If somebody experiences problems, please let me know. If somebody wants the mtb_scale enabled maps, let me know as well :-) Rainer |
Re: Navit on N900
gianko,
I am happy to accept patches. Just let me know where they are and I will include them (although if upstream would include them, that would make even more sense). Thanks, Rainer |
Re: Navit on N900
Quote:
feel free to contribute or to include in the N900 build before they do :) |
Re: Navit on N900
Quote:
|
Re: Navit on N900
Navit problem: display lacks zoom buttons, main menu. I installed the version available in the usual repos (including extras-devel), not the bokomoko one. I was hoping that might be good enough. I put map.xml, navit.xml and OSD.xml (arne.anka's set from comment 566, edited for my location and other data) in /home/user/.navit. I downloaded an openstreetmap and put it in the designated map folder.
When I start navit, it shows the map, I can use the touchscreen to scroll it to other locations. But it's missing most of the buttons. No zoom. No way to give it a location that I want to see a map of. And when I go to Settings screen, there's no way to get back to the map. The Main Menu in the top left does nothing. No way to exit either. I have to wait for it to crash from random button presses, or reboot. So is my only hope to try the bokomoko version? Anybody else have these weird partial-function things going on? The Goog was not my friend on this. I didn't find anything, but I probably don't know where to look. edited to add: I use an N900. |
Re: Navit on N900
Gaaa. I'm going nuts. As usual. So, I thought Monav might be the solution for what I want which is only to have maps I can access OFFLINE. Downloaded my region, everything fine,
but, as soon as I turn off wifi, it stops using the map I just downloaded! What the f gives? Why does everything want a connection? When I'm in the back of beyond, there is no connection. I need OFFline maps. How do I get Monav ( or anything) to just give me simple offline maps? You know, as if I had an atlas stored on my n900? |
Re: Navit on N900
the navit version in the "official" repo afaik is not working properly, try bokomoko repo is completely another story :)
|
Re: Navit on N900
Ah, I see. Off to reinstall now.
Okay. A day later. I had some kind of problem with my repos, but finally it went away. You're right that the bokomoko version does work. W00T! Now I just have to mess about with navit.xml (?I assume, haven't looked into it yet) to get the type big enough to actually see. :p Thanks for pointing me in the right direction! |
Re: Navit on N900
Why the separate repo? Why not upload to extras-devel (it'll let you override it in devel even if you're not the maintainer, and honestly, you could contact maintainer and ask him to let you maintain it, I'm sure at this point they'd know you'd do a better job than them - or if they don't respond, I think council can do something about that, last I checked, by prodding the right people who handle the repo management).
|
Re: Navit on N900
Quote:
- navit's gui needs to be configured in the navit.xml (or included xml file) - offline maps have to be downloaded and made known to navit and monav -- if you don't do that, what do you expect to happen? - monav maps need to be prepared by you, since there's no usable provider -- latest monav available for n900 requires maps more rcent then the ones linked to from the monav hp btw: monav is imo certainly the way to go. it's faster, it's better and the gui is so much better, that i don't even know, where to start. |
Re: Navit on N900
Quote:
Rainer |
Re: Navit on N900
Quote:
Have a look at the patch which I apply http://bokomoko.de/~rd/navit/mtb-track.patch (i.e. you do not need to run the maptool on the n900 ;-) ) and my mtb layout http://bokomoko.de/~rd/navit/mtb.xml Let me know, if you have trouble with it. Rainer |
Re: Navit on N900
Quote:
So to get it in extras-devel, there are two options:
For both I do not have the time to work throught the details, if anybody wants to help, I support as good as I can (and continue to build packages on bokomoko.de until the extras-devel setup works). Here are my current build scripts: http://bokomoko.de/~rd/navit/build_navit_n900.tgz Rainer |
Re: Navit on N900
Hi Rainer. i just upgrade to the latest navit from bokomoko. the map shows a car icon for pubs...why?
also there is a man icon for poi vehicle_pedestrian but i dont know what is the osm related feature...i will investigate the osm data benches are fine |
Re: Navit on N900
Quote:
I'll be also setting up an online repository with Monav data packs, but it would be routing-only, at least initially. |
Re: Navit on N900
Quote:
sorry to hear that your pois get reordered. Mine still look ok, see http://bokomoko.de/~rd/navit/navit_screenshot.png for Downtown Tübingen. Rainer |
Re: Navit on N900
maybe i have an old navit.xml or the problem is with the map generated from navit planet extractor...
is there a fine navit.xml for maemo in your repo? |
Re: Navit on N900
Quote:
Of course you must customize it for your own needs. Hint: diff is your friend :D HTH & HAND Michael |
Re: Navit on N900
Hey guys! Who can teach to speak clearly our navit? Is it possible?
Best regards and sorry for my English. |
Re: Navit on N900
Quote:
Here is my .navit dir on the n900: http://bokomoko.de/~rd/navit/navit-config-n900.tgz Rainer |
Re: Navit on N900
i downloaded a newer map from navit planet extractor as long with updated navit.xml now the reordered pois issue is gone.
but i noticed some other issue...i updated navit to the last version 5246.4, so my patch adding some new pois is implemented. the new pois (bike_sharing,shop_bicycle,car_sharing,bicycle_par king) are recognized and the navit.xml has itemgras to show them, the problem is that the icons are missing in /opt/navit/share/navit/xpm why? |
Re: Navit on N900
Quote:
I think because they are missing in navit/navit/xpm/Makefile.am ... maybe other icons are missing in there as well (?). My n900 build uses autotools, I suspect that cmake does not need this file. Rainer |
| All times are GMT. The time now is 01:24. |
vBulletin® Version 3.8.8