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

 
 

bug #44619: Bad latitude value for message type 17

Submitted by:  None
Submitted on:  Tue 24 Mar 2015 03:35:33 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Eric S. Raymond <esr>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 03 Jun 2015 02:13:37 PM UTCesrOpen/ClosedOpen=>Closed
    Tue 24 Mar 2015 05:21:27 PM UTCesrStatusNone=>Fixed
      Assigned toNone=>esr

    Back to the top


    Powered by Savane 3.1-cleanup1