gpsd-users
[Top][All Lists]
Advanced

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

Re: gpsd nmea sentences


From: Gary E. Miller
Subject: Re: gpsd nmea sentences
Date: Sat, 28 Mar 2020 13:02:48 -0700

Yo Oleg!

On Sat, 28 Mar 2020 18:43:18 +0100
Oleg Roitburd <address@hidden> wrote:

> пт, 27 мар. 2020 г. в 21:57, Gary E. Miller <address@hidden>:
> 
> > I'm thinking maybe:
> >         wspeedt  -- wind speed true
> >         wanglet  -- wind angle true
> >         wspeeda  -- wind speed apparent
> >         wanglea  -- wind angle apparent
> >  
> > > I'm not sure it's all really necessary.  
> 
> I'm kind of confused what you're doing. There is a structure that
> seems to exist for this.
> https://gitlab.com/gpsd/gpsd/-/blob/master/gps.h#L2156

Oh.  That steaming mess.

navadata_t it a union in gps_data_t, and totally broken.  It can't be
initialized.  It does not get merged with similar data, and it kills
its siblings in the union.    And currently unused.

> Maybe there is only one element/flag missing, which shows if the wind
> is true or apparent

Can't be a flag, all three (true, magnetic, relative) are present at the
same time.

But, might as well kill two birds with one stone and fix that structure
and how it is used, while getting $xxMWD and $xxMWV to work.

Thanks for the idea.  A one day job just tripled in effort...

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

Attachment: pgp60oeAEtAdI.pgp
Description: OpenPGP digital signature


reply via email to

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