Closed pgrandin closed 2 years ago
Here are the first 10 encountered errors:
gps.cpp(7): error cpplint: [build/include_subdir] Include the directory when naming header files [4]
gps.cpp(8): error cpplint: [build/include_subdir] Include the directory when naming header files [4]
gps.cpp(142): error cpplint: [whitespace/line_length] Lines should be <= 120 characters long [2]
gps.cpp(426): error cpplint: [whitespace/line_length] Lines should be <= 120 characters long [2]
gps.cpp(435): error cpplint: [whitespace/line_length] Lines should be <= 120 characters long [2]
gps.cpp(440): error cpplint: [whitespace/line_length] Lines should be <= 120 characters long [2]
gps.cpp(443): error cpplint: [whitespace/line_length] Lines should be <= 120 characters long [2]
gps.cpp(475): error cpplint: [whitespace/line_length] Lines should be <= 120 characters long [2]
gps.cpp(475): error cpplint: [whitespace/operators] Missing spaces around || [3]
Done processing gps.cpp Category 'build' errors found: 3 Category 'whitespace' errors found: 7 Total errors found: 10
The previous code was only parsing GPS NMEA messages, preventing some messages to be correctly parsed when the position is calculated using GLONASS.
Also removed the assumption that calling
setGPS10HZ();
meant that the rate was properly set, and instead rely on receiving a properACK10HZ