Add MavlinkStreamGPSStatus status class stream via GPS_STATUS.hpp and add PRN code to satellite_info.msg.

This commit is contained in:
mcsauder
2020-10-14 08:26:42 +02:00
committed by Beat Küng
parent de6d31ef3e
commit 047531b924
7 changed files with 112 additions and 6 deletions
+3 -3
View File
@@ -83,7 +83,7 @@ typedef enum {
/* struct for dynamic allocation of satellite info data */
struct GPS_Sat_Info {
struct satellite_info_s _data;
satellite_info_s _data;
};
static constexpr int TASK_STACK_SIZE = 1760;
@@ -152,7 +152,7 @@ private:
char _port[20] {}; ///< device / serial port path
bool _healthy{false}; ///< flag to signal if the GPS is ok
bool _mode_auto; ///< if true, auto-detect which GPS is attached
bool _mode_auto; ///< if true, auto-detect which GPS is attached
gps_driver_mode_t _mode; ///< current mode
@@ -169,7 +169,7 @@ private:
float _rate{0.0f}; ///< position update rate
float _rate_rtcm_injection{0.0f}; ///< RTCM message injection rate
unsigned _last_rate_rtcm_injection_count{0}; ///< counter for number of RTCM messages
unsigned _last_rate_rtcm_injection_count{0}; ///< counter for number of RTCM messages
const bool _fake_gps; ///< fake gps output