gpsd-users
[Top][All Lists]
Advanced

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

Re: DBT sentences


From: Gary E. Miller
Subject: Re: DBT sentences
Date: Mon, 14 Jun 2021 10:27:50 -0700

Yo Владимир!

On Mon, 14 Jun 2021 16:10:27 +0300
Владимир Калачихин <v.kalachikhin@gmail.com> wrote:

> As talking in
> https://gpsd.gitlab.io/gpsd/gpsd.html#_applicable_standards
> gpsd must parse $IIDBT sentence.
> 
> The included log has these sentences, but gpsd output does not have 
> depth info from it.

You did not mention your gpsd version.

> What's wrong?

I see nothing wrong.  I am using 3.22.1~dev

The DBT data goes into the TPV sentences.

I looked at your file with "gpsdecode < log.nmea"..

Here is a sample TPV:

{"class":"TPV","device":"stdin","mode":3,"lat":60.069716667,"lon":23.522650000,"altHAE":0.0000,"altMSL":0.0000,"alt":0.0000,"track":206.2000,"magtrack":206.1900,"magvar":8.7,"speed":2.932,"geoidSep":0.000,"eph":0.000,"wangler":354.0,"wspeedr":7.1,"wspeedt":4.0}

Notice it has this:
  
"wangler":354.0,"wspeedr":7.1,"wspeedt":4.0}

That is "Wind Angle Angle Relative", "Wind Speed Relative" and "Wind
Speed True".

Another sentence:

{"class":"TPV","device":"stdin","mode":3,"lat":60.069683333,"lon":23.522600000,"altHAE":0.0000,"altMSL":0.0000,"alt":0.0000,"track":204.9000,"magtrack":204.9400,"magvar":8.7,"speed":2.881,"geoidSep":0.000,"eph":0.000,"depth":13.520}

Notice the "depth" which comes from DBT.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  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: pgpY7es92i8qw.pgp
Description: OpenPGP digital signature


reply via email to

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