bugGPSD - Bugs: bug #56099, Two TPV messages with equal...

 
 

bug #56099: Two TPV messages with equal timestamp but different content

Submitted by:  None
Submitted on:  Mon 08 Apr 2019 01:42:25 PM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 31 May 2019 04:25:33 AM UTC, comment #1: 

This can happen if your device only reports time at 1-second granularity but occasionally ships more often than that.  Weird, but not a GPSD bug.

Eric S. Raymond <esr>
Project Administrator
Mon 08 Apr 2019 01:42:25 PM UTC, original submission:  

Using
nc 192.168.1.1 2947
?WATCH={"enable":true,"json":true}

I get:

n-th. Message:
{"class":"TPV","device":"/dev/ttyUSB3","mode":3,"time":"2019-04-08T11:58:15.000Z","ept":0.005,"lat":47.385328850,"lon":8.548429350,"alt":480.600,"epx":14.020,"epy":13.861,"epv":18.400,"speed":4.841,"climb":-0.300,"eps":28.04,"epc":36.80}

n+1 th Message:
{"class":"TPV","device":"/dev/ttyUSB3","mode":3,"time":"2019-04-08T11:58:15.000Z","ept":0.005,"lat":47.385328850,"lon":8.548429350,"alt":480.600,"epx":14.020,"epy":13.861,"epv":18.400,"track":358.9000,"speed":5.916,"climb":-0.300,"eps":28.04,"epc":36.80}

As you can see it contains twice the same information, except for two members:
- speed is different
- the latter message has an additional information "track" that is missing in the first one

Does anyone have an idea how this can happen? Am I calling it the wrong way?

Thank you

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by esr (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-31 esr Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.5