|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <GPSRtk.h>
Inheritance diagram for GPSRtk:
Collaboration diagram for GPSRtk:Classes | |
| struct | SatelliteCounts |
Public Member Functions | |
| GPSRtk (QObject *parent=nullptr) | |
| ~GPSRtk () | |
| void | connectGPS (const QString &device, QStringView gps_type) |
| void | disconnectGPS () |
| bool | connected () const |
| FactGroup * | gpsRtkFactGroup () |
Static Public Member Functions | |
| static SatelliteCounts | countSatellites (const satellite_info_s &msg) |
| Clamp count to the array bound and tally used-in-solution satellites. | |
| GPSRtk::~GPSRtk | ( | ) |
Definition at line 40 of file GPSRtk.cc.
References disconnectGPS().
| void GPSRtk::connectGPS | ( | const QString & | device, |
| QStringView | gps_type | ||
| ) |
Definition at line 87 of file GPSRtk.cc.
References BaseModeDefinition::BaseFixed, GPSProvider::connectionError(), disconnectGPS(), NTRIPManager::instance(), SettingsManager::instance(), GPSRTKFactGroup::lastError(), None, GPSProvider::RTCMDataUpdate(), RTCMMavlink::RTCMDataUpdate(), NTRIPManager::rtcmMavlink(), SettingsManager::rtkSettings(), GPSProvider::satelliteInfoUpdate(), GPSProvider::sensorGpsUpdate(), Fact::setRawValue(), GPSProvider::surveyInStatus(), u_blox, and GPSReceiverConfig::useFixedBase.
|
static |
Clamp count to the array bound and tally used-in-solution satellites.
Definition at line 165 of file GPSRtk.cc.
References satellite_info_s::count, GPSRtk::SatelliteCounts::inView, satellite_info_s::SAT_INFO_MAX_SATELLITES, satellite_info_s::used, and GPSRtk::SatelliteCounts::used.
| void GPSRtk::disconnectGPS | ( | ) |
Definition at line 140 of file GPSRtk.cc.
Referenced by connectGPS(), and ~GPSRtk().