ros-drivers/nmea_navsat_driver

Value error, likely due to missing fields in the NMEA message. Error was: invalid literal for int() with base 10: ''. Please report this issue at github.com/ros-drivers/nmea_navsat_driver, including a bag file with the NMEA sentences that caused it

aristow1 opened this issue · 1 comments

Hello
Im trying to run my GPS with this ros driver but i keep on getting this error :

[WARN] [1673266044.583654]: Received a sentence with an invalid checksum. Sentence was: '00957.1579,E,000.0,125.2,090123,002.2,E*76'
[WARN] [1673266044.727569]: Value error, likely due to missing fields in the NMEA message. Error was: invalid literal for int() with base 10: ''. Please report this issue at github.com/ros-drivers/nmea_navsat_driver, including a bag file with the NMEA sentences that caused it.

im not able to read the data through the nmea ros package. however when i read the data with sudo cat /dev/ttyUSB0 i get the following results:

$GPRMC,130845,A,4822.1369,N,00957.1466,E,000.0,125.2,090123,002.2,E*7F
$GPGGA,130845,4822.1369,N,00957.1466,E,2,08,1.0,497.7,M,46.8,M,,*4B
$GPGSA,A,3,12,13,15,17,19,23,24,25,,,,,1.3,1.0,0.8*32
$GPGSV,3,1,11,12,54,240,40,13,11,157,26,15,27,183,25,17,25,045,21*71
$GPGSV,3,2,11,19,46,079,23,23,09,253,23,24,89,011,21,25,24,244,29*7C
$GPGSV,3,3,11,01,01,008,00,06,04,102,00,32,17,319,00*4C
$GPRMC,130846,A,4822.1369,N,00957.1465,E,000.0,125.2,090123,002.2,E*7F
$GPGGA,130846,4822.1369,N,00957.1465,E,2,08,1.0,497.7,M,46.8,M,,*4B
$GPGSA,A,3,12,13,15,17,19,23,24,25,,,,,1.3,1.0,0.8*32
$GPGSV,3,1,11,12,54,240,40,13,11,157,26,15,27,183,24,17,25,045,21*70
$GPGSV,3,2,11,19,46,079,22,23,09,253,23,24,89,011,22,25,24,244,29*7E
$GPGSV,3,3,11,01,01,008,00,06,04,102,00,32,17,319,00*4C
$GPRMC,130847,A,4822.1369,N,00957.1464,E,000.0,125.2,090123,002.2,E*7F
$GPGGA,130847,4822.1369,N,00957.1464,E,2,08,1.0,497.7,M,46.8,M,,*4B
$GPGSA,A,3,12,13,15,17,19,23,24,25,,,,,1.3,1.0,0.8*3^C

any Idea on how i can solve this ? thank you

solution in issue #135