gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] hdop vdop pdop <-> NaN


From: Luca
Subject: Re: [gpsd-users] hdop vdop pdop <-> NaN
Date: Mon, 01 Jul 2013 14:05:14 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

> I'm using libgpsmm to poll GPS data from a GPSD.
> 
> I've troubles polling hdop vdop and pdop, i.e. they are NaN.
> 
> Using gpsmom, DOP H, V & P have correct values:
> Mode: A 3
> Sats: 7 8 21 28
> DOP: H=14.8  V=1.0   P=14.9
> 
> I've cross compiled GPSD 3.7 for ppc_8xx with the following options:
> 
> usb = False
> bluez = False
> libQgpsmm = False
> ncurses = False
> python = False
> chrpath = False
> prefix = '/srv/rec/rootfs-user/usr/local'
> target = 'ppc_8xx'
> sysroot = '/opt/eldk_4.2/ppc_8xx/usr/include'
> 
>>From the code, I'm query as following:
> 
> [...]
> 
> pNewGpsData = gps_rec.read()
> 
> hdop = pNewGpsData->dop.hdop
> vdop = pNewGpsData->dop.vdop
> pdop = pNewGpsData->dop.pdop
> 
> [...]
> 
> But, hdop, vdop, pdop are NaN.

The problem has been solved:

gpsd (on server side) was an old version 2.37, and from client side
libgps version 3.7.

Upgrading the gpsd (on server side) to version 3.9 solved this issue.

All the best,
Luca.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]