From b236e80e41cb5b2b15ec065a1c0e8a1145b91e7f Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Fri, 5 Apr 2019 14:16:19 -0700 Subject: [PATCH] AP_GPS: Log reciever status to GPS SD card This improves log analysis of bad GPS health messages when you have a report of bad GPS health but lost the MAVLink message, or didn't have access to the autopilot log with the information for some reason. --- libraries/AP_GPS/AP_GPS_SBF.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/AP_GPS/AP_GPS_SBF.h b/libraries/AP_GPS/AP_GPS_SBF.h index 6361abea34..dec48b2f3c 100644 --- a/libraries/AP_GPS/AP_GPS_SBF.h +++ b/libraries/AP_GPS/AP_GPS_SBF.h @@ -22,7 +22,6 @@ #include "AP_GPS.h" #include "GPS_Backend.h" -#define SBF_SETUP_MSG "\nsso, Stream1, COM1, PVTGeodetic+DOP+ExtEventPVTGeodetic, msec100\n" #define SBF_DISK_ACTIVITY (1 << 7) #define SBF_DISK_FULL (1 << 8) #define SBF_DISK_MOUNTED (1 << 9) @@ -66,7 +65,7 @@ private: "srd, Moderate, UAV\n", "sem, PVT, 5\n", "spm, Rover, all\n", - "sso, Stream2, Dsk1, postprocess+event+comment, msec100\n"}; + "sso, Stream2, Dsk1, postprocess+event+comment+ReceiverStatus, msec100\n"}; uint32_t _config_last_ack_time; const char* _port_enable = "\nSSSSSSSSSS\n";