QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GPSRtk Class Reference

#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
 
FactGroupgpsRtkFactGroup ()
 

Static Public Member Functions

static SatelliteCounts countSatellites (const satellite_info_s &msg)
 Clamp count to the array bound and tally used-in-solution satellites.
 

Detailed Description

Definition at line 13 of file GPSRtk.h.

Constructor & Destructor Documentation

◆ GPSRtk()

GPSRtk::GPSRtk ( QObject *  parent = nullptr)
explicit

Definition at line 30 of file GPSRtk.cc.

◆ ~GPSRtk()

GPSRtk::~GPSRtk ( )

Definition at line 40 of file GPSRtk.cc.

References disconnectGPS().

Member Function Documentation

◆ connected()

bool GPSRtk::connected ( ) const

Definition at line 155 of file GPSRtk.cc.

◆ connectGPS()

◆ countSatellites()

GPSRtk::SatelliteCounts GPSRtk::countSatellites ( const satellite_info_s msg)
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.

◆ disconnectGPS()

void GPSRtk::disconnectGPS ( )

Definition at line 140 of file GPSRtk.cc.

Referenced by connectGPS(), and ~GPSRtk().

◆ gpsRtkFactGroup()

FactGroup * GPSRtk::gpsRtkFactGroup ( )

Definition at line 160 of file GPSRtk.cc.


The documentation for this class was generated from the following files: