[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] Polling for GPS data using python3 API
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-users] Polling for GPS data using python3 API |
Date: |
Tue, 13 Aug 2019 11:47:58 -0700 |
Yo pisymbol!
For some reason your email client is quoting strangely, so hard to
tell what is repeated and what is new.
On Tue, 13 Aug 2019 11:57:33 -0400
"pisymbol ." <address@hidden> wrote:
> > With the newer style API, if I want to take real-time samples from
> > the Trimble via gpsd can I just so session.next()? Will that
> > always give me the latest sample?
> >
> > It looks like the samples are buffered so I would have to
> > continually
> drain it to get the latest sample, is that right? I am doing that now
> in a separate process (it just copied out the latest sample so an
> arbitrary number of threads and read it).
The samples are buffering because you are not reading them. You need
to keep up with the incoming messages.
> Finally, my Trimble is emitting GGA strings and I want to get the fix
> (if it's in RT[KX] mode (4)). How do I get that from the report? I
> don't see it.
GGA is not enough. Try "gpsutil -n" to setup your GNSS with a good
sentence mix. That works on a lot of receivers.
A good mix, depending on your application, may be something like:
GPGLL - Geographic Position - Latitude longitude
GPRMC - Recommended Minimum Specific GNSS Sentence
GPVTG - Course Over Ground and Ground Speed
GPGGA - GPS Fix Data
GPGSA - GNSS DOPS and Active Satellites
GPGSV - GNSS Satellites in View
GPZDA - Time & Date
Without knowing your Trimble model, and application, it is hard to say
what your optimal may be.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpP0x0kbVyzK.pgp
Description: OpenPGP digital signature
- Re: [gpsd-users] Polling for GPS data using python3 API, (continued)
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, Gary E. Miller, 2019/08/12
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, Gary E. Miller, 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API,
Gary E. Miller <=
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, Gary E. Miller, 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, Mike Tubby, 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, pisymbol ., 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, Gary E. Miller, 2019/08/13
- Re: [gpsd-users] Polling for GPS data using python3 API, Gary E. Miller, 2019/08/13
Re: [gpsd-users] Polling for GPS data using python3 API, Greg Troxel, 2019/08/13