Closed victorll998 closed 2 years ago
Your device appears to be outputting invalid NMEA sentences. There are two different problems here:
Most of the rejected sentences have incorrect checksums. The purpose of the checksum is the detect message corruption. The checksum is the last field of the sentence (after the *
character), and it should equal the value of XORing every character in the sentence between the $
and *
characters. You can see with this online checksum calculator that the correct checksum of GPGSV,2,2,08,09,47,051,32,14,46,325,29,27,q3,134,18,30,59,227,31,6
is 2E
, not 6E
. I suspect the problem with that particular sentence is the q3
field, since all of those fields should be numeric. You'll see similar anomalies in the other rejected messages.
The GPRMC message that couldn't be decoded also exhibits a data integrity error. It contains the character \xd3
, which is not even a valid ASCII character.
Both of these problems indicate that either your device or the serial connection to your device has a problem that's causing data corruption. The driver is performing as expected.
Best of luck solving your problem. I suspect it's a hardware issue somewhere in the serial connection between your GPS device and computer.
Hi,
I am getting errors below when I use nmea_navsat_driver to communicate with Ublox F9P. It seems RMC sentences are skipped because of invalid checksum errors.
I found a similar post in ROS answer (https://answers.ros.org/question/192525/problem-with-nmea_serial_driver/). I think it is relevant to the issue I am encountering but there is no answer to it
Thanks in advance