QGIS API Documentation 3.39.0-Master (e8f1b343c48)
|
Encapsulates information relating to a GPS satellite. More...
#include <qgssatelliteinformation.h>
Public Member Functions | |
Qgis::GnssConstellation | constellation () const |
Returns the GNSS constellation associated with the information. | |
bool | operator!= (const QgsSatelliteInfo &other) const |
bool | operator== (const QgsSatelliteInfo &other) const |
Public Attributes | |
double | azimuth = std::numeric_limits< double >::quiet_NaN() |
The azimuth of the satellite to true north, in degrees. | |
double | elevation = std::numeric_limits< double >::quiet_NaN() |
Elevation of the satellite, in degrees. | |
int | id = 0 |
Contains the satellite identifier number. | |
bool | inUse = false |
true if satellite was used in obtaining the position fix. | |
QChar | satType |
satType value from NMEA message $GxGSV, where x: P = GPS; S = SBAS (GPSid> 32 then SBasid = GPSid + 87); N = generic satellite; L = GLONASS; A = GALILEO; B = BEIDOU; Q = QZSS; | |
int | signal = -1 |
Signal strength (0-99dB), or -1 if not available. | |
Friends | |
class | QgsNmeaConnection |
Encapsulates information relating to a GPS satellite.
Definition at line 33 of file qgssatelliteinformation.h.
|
inline |
Returns the GNSS constellation associated with the information.
Definition at line 95 of file qgssatelliteinformation.h.
|
inline |
Definition at line 108 of file qgssatelliteinformation.h.
|
inline |
Definition at line 97 of file qgssatelliteinformation.h.
|
friend |
Definition at line 117 of file qgssatelliteinformation.h.
double QgsSatelliteInfo::azimuth = std::numeric_limits< double >::quiet_NaN() |
The azimuth of the satellite to true north, in degrees.
Definition at line 70 of file qgssatelliteinformation.h.
double QgsSatelliteInfo::elevation = std::numeric_limits< double >::quiet_NaN() |
Elevation of the satellite, in degrees.
Definition at line 56 of file qgssatelliteinformation.h.
int QgsSatelliteInfo::id = 0 |
Contains the satellite identifier number.
The satellite identifier number can be used to identify a satellite inside the satellite system. For satellite system GPS the satellite identifier number represents the PRN (Pseudo-random noise) number. For satellite system GLONASS the satellite identifier number represents the slot number.
Definition at line 44 of file qgssatelliteinformation.h.
bool QgsSatelliteInfo::inUse = false |
true
if satellite was used in obtaining the position fix.
Definition at line 49 of file qgssatelliteinformation.h.
QChar QgsSatelliteInfo::satType |
satType value from NMEA message $GxGSV, where x: P = GPS; S = SBAS (GPSid> 32 then SBasid = GPSid + 87); N = generic satellite; L = GLONASS; A = GALILEO; B = BEIDOU; Q = QZSS;
Definition at line 88 of file qgssatelliteinformation.h.
int QgsSatelliteInfo::signal = -1 |
Signal strength (0-99dB), or -1 if not available.
Definition at line 82 of file qgssatelliteinformation.h.