Fwd: Re: navit in QTmoko: Map don't follow actual position
Frank
frank at fotodrachen.de
Mon Aug 15 10:33:41 CEST 2011
Hallo,
while lists.openmoko ist down since some days, has anybody here an idea?
My navit on QTmoko don't get the position from GPSD.
Frank
-------- 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,
Hallo Hrabosh,
> is your GPSD daemon running?
Yes,
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
> row).
The position at Vehicle-Icon is always
0° 0' 0" N
0° 0' 0" E
> My navit.xml is attached.
Thank you,
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
QT).
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
many zoom-steps.
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.
http://wiki.navit-project.org/index.php/OSD_Layouts#FreeRunner_Layout_1
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?
PS.
On my test with navit.xml I found:
1.
<navit center=...>
http://wiki.navit-project.org/index.php/Configuring_Navit#Starting_position
Is not used, has no effect.
navit starts at the last used position from file "center.txt".
2.
http://wiki.navit-project.org/index.php/Configuring_Navit#Vehicle
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
source="gpsd://localhost"
and
enabled="yes"
navit didn't start.
3.
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.
The Ubuntu-Version:
- 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".
QTmoko:
- 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:
>> Hallo,
>> 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
>> GPSD-source.
>>
>> 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?
--
Frank
More information about the Smartphones-userland
mailing list