|
From: | teyrana |
Subject: | Re: [gpsd-dev] [PATCH] [log.chk] [TPV timing] implement $GPVTG message, and proper timing for output "TPV" messages |
Date: | Thu, 17 May 2018 16:13:03 -0400 |
Yo teyrana!
On Thu, 17 May 2018 13:06:07 -0400
teyrana <address@hidden> wrote:
> We've implemented the $GPVTG message, and I wanted to get the list's
> opinion on what the proper behavior is for emitting messages on
> $GPVTG vs storing and waiting. ( I've attached the .log.chk)
Interesting. For example:
$GPVTG,135.49,T,150.13,M,0.03,N,0.05,K,D*2C
$GPZDA,140134.00,17,05,2018,00,00*6D
$GPHDT,185.39,T*03
{"class":"ATT","heading":185.39}
Looks like you have more data in the GPVTG than you are putting in the ATT.
> The intended (/implemented) behavior was for VTG to populate, but not
> trigger output.
Yeah, that's a tricky part. You want to wait until you have all the data
of a cycle before outputting, but no longer. REPORT_IS, and friends, is
the key to how that works.
> p.s. I ran into the list's size limit, which is why I tried to
> inclcude p.p.s.
Pastebin works for larger files.
[Prev in Thread] | Current Thread | [Next in Thread] |