mirror of https://github.com/ArduPilot/ardupilot
ddebf7b443
the parser was broken in several ways: 1) when it received an unknown message it didn't update the ck_a and ck_b fields, so it thought the message had a bad checksum, which meant it got out of protocol sync 2) the read() method would return false if the last message from the GPS was of an unknown type. So we relied on the last msg always being one that we understand and want 3) the parser considered any valid UBLOX message to be 'new data', whereas we only actually get a new fix when we get box a new position and velned message 4) the total message size per update is more than 128 bytes, but the serial port was opened with only a 128 byte buffer, so we got corruption regularly |
||
---|---|---|
.. | ||
config | ||
examples | ||
AP_GPS.h | ||
AP_GPS_406.cpp | ||
AP_GPS_406.h | ||
AP_GPS_Auto.cpp | ||
AP_GPS_Auto.h | ||
AP_GPS_HIL.cpp | ||
AP_GPS_HIL.h | ||
AP_GPS_IMU.cpp | ||
AP_GPS_IMU.h | ||
AP_GPS_MTK.cpp | ||
AP_GPS_MTK.h | ||
AP_GPS_MTK16.cpp | ||
AP_GPS_MTK16.h | ||
AP_GPS_MTK_Common.h | ||
AP_GPS_NMEA.cpp | ||
AP_GPS_NMEA.h | ||
AP_GPS_None.h | ||
AP_GPS_SIRF.cpp | ||
AP_GPS_SIRF.h | ||
AP_GPS_Shim.h | ||
AP_GPS_UBLOX.cpp | ||
AP_GPS_UBLOX.h | ||
GPS.cpp | ||
GPS.h |