Fwd: Re: navit in QTmoko: Map don't follow actual position
frank at fotodrachen.de
Mon Aug 15 10:33:41 CEST 2011
while lists.openmoko ist down since some days, has anybody here an idea?
My navit on QTmoko don't get the position from GPSD.
-------- Original-Nachricht --------
Betreff: Re: navit in QTmoko: Map don't follow actual position
Datum: Sat, 13 Aug 2011 12:42:10 +0200
Von: Frank <frank at fotodrachen.de>
Antwort an: Frank <newsletter at fotodrachen.de>
An: List for Openmoko community discussion <community at lists.openmoko.org>
Am 06.08.2011 21:23, schrieb Hrabosh:
> Hallo Frank,
> is your GPSD daemon running?
in QX in "Settings" for navit "Enable GPS module" is set.
And I tried "Turn on GPS" in "Devtools" before I start navit.
> Is it configured properly?
I changed nothing.
There is no configure-menu for GPSD?
"NeronGPS" gets the Position from GPSD.
But NeronGPS need a Connection to the web to load map-tiles.
> If my Navit works (i.e. has current position), I can see actual
> coordinates in "Action" menu below the car icon (in the middle of left
The position at Vehicle-Icon is always
0° 0' 0" N
0° 0' 0" E
> My navit.xml is attached.
I found it very diffent from mine, for example you use no follow="n".
Then I remember: At the beginning I didn't know, how to start navit (via
I found no Icon and tried to start it from console, but this doesn't
work, too. Then I purged navit and compiled it from Source.
My configure "navit.xml" was based on this source-version which is
different from the navit.xml from installable Version in QTmoko v35.
In the QTmoko-Version in layout "car" the land has the color of see in
In the source-Version the see has the color of land.
Last week I tried many various configurations.
I mixed and merged yours, mine, from source, from QTmoko.
I purged navit again and manually deleted all files.
Then I installed it new.
It seems, my problem is not resolvable in the vehicle-tag in navit.xml.
There seems to be no communication between navit and GPSD.
> BTW ... I have nothing on the screen but the map and + - icons. If you
> managed to get ETA time, trip length, next turn, etc. information on the
> screen, could you please share your navit.xml?
I found example-configs here.
Using this shows me some Elements on the GUI, but without a GPS-Position
there are no values to show.
> Thanks, Hrabosh
Has anybody else an idea to solve my problem?
On my test with navit.xml I found:
Is not used, has no effect.
navit starts at the last used position from file "center.txt".
I try to configure more then one Vehicle: one with logging a gpx-file
and one without logging.
I hoped, I could switch this at runtime.
It is possible to configure one with GPSD and one with DEMO.
But using more than one with
navit didn't start.
My reference-version for testing the config is on my Ubuntu PC.
There is no GPSD running, but I can check the xml-syntax.
Starting from console gives me a feed-back, where in navit.xml is an error.
- has German translation
- Click in the settings the Icon in front of the line changes.
The "cross" changes into the green circle with "aktive-hook".
- only english
- Clicking in settings the icon doesn't change.
But when leaving this menu and come back,
I see that the setting is accepted.
> Frank píše v Pá 05. 08. 2011 v 20:47 +0200:
>> I try to run navit on my freerunner.
>> - QTmoko v35
>> - navit Version: 0.2.0~svn3501+dfsg.1-1
>> I downloaded and installed a OSM-Map for Germany.
>> I see this map and can zoom and pan but ...
>> My problem now is:
>> The map is *not* centered on my actual position from GPS.
>> I tried to configure some<vehicle>-Tags in /home/root/.navit/navit.xml
>> <vehicle name=".." profilename="car" enabled="yes" active="0"
>> source="gpsd://localhost" gpsd_query="w+xj" follow="3">
>> But on navit's gui I only see the default DEMO-Vehicle which has no
>> Can someone send me an example for a working freeruner-proved
>> 'navit.xml' or a<vehicle>-Tag that follows GPS?
>> How can I test, that navit gets the actual position from GPS-deamon?
More information about the Smartphones-userland