bugGPSD - Bugs: bug #44619, Bad latitude value for message...

 
 

bug #44619: Bad latitude value for message type 17

Submitter:  None
Submitted:  Tue 24 Mar 2015 03:35:33 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  esr
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Mar 2015 05:21:27 PM UTC, comment #1: 

GPSD bug -n that decoder was looking for unsigned rather than signed latitude.

This sentence will go into my regression tests.

Eric S. Raymond <esr>
Group administrator
Tue 24 Mar 2015 03:35:33 PM UTC, original submission:  

gpsdecode produces an invalid latitude value for the following NMEA, while libais does not. So which value is correct? The NMEA was found in the wild... I've submitted this to the libais bug tracker in addition to here as there is no guarantee that the libais value is correct either (maybe the message itself is malformed?):

!AIVDM,1,1,1,A,A;wUJKU>io;WlWuwH`W1PpnuN<isf;5iHtOM1S6q?vsvNrNGOqLcr5mfD6t,2*51,d-127,S1378,t024436.00,T36.76385108,r09SCHA1,1272422678

aisdecode
{"repeat": 0, "spare2": 18, "mmsi": "804870766", "lon": 134.44833374023438, "scaled": true, "lat": -44.6966667175293, "spare": 1, "device": "stdin", "type": 17, "class": "AIS"}

gpsdecode:
{"class":"AIS","device":"stdin","type":17,"repeat":0,"mmsi":804870766,"scaled":true,"lon":134.4,"lat":173.8,"data":"272:7f7f6289c1838dbd78cc7bb8b17163c7dd0631b93feefe7ba7977f972be85d6e506f"}

Libais issue: https://github.com/schwehr/libais/issues/67

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-03 esr Open/ClosedOpen Closed
    2015-03-24 esr StatusNone Fixed
        Assigned toNone esr

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code