dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
GPS Gadget Plugin

A widget which displays the GPS constellation. More...

Namespaces

 Core
 The Core namespace contains all classes that make up the Core plugin which constitute the basic functionality of the GCS.
 

Classes

class  GpsConstellationWidget
 
class  GpsDisplayGadget
 
class  GpsDisplayGadgetFactory
 
class  GpsDisplayPlugin
 
class  GpsDisplayWidget
 
class  GPSParser
 
class  TelemetryParser
 

Functions

 GpsConstellationWidget::GpsConstellationWidget (QWidget *parent=nullptr)
 
 GpsConstellationWidget::~GpsConstellationWidget ()
 
void GpsConstellationWidget::showEvent (QShowEvent *event)
 
void GpsConstellationWidget::resizeEvent (QResizeEvent *event)
 
 GpsDisplayGadget::GpsDisplayGadget (QString classId, GpsDisplayWidget *widget, QWidget *parent=nullptr)
 
 GpsDisplayGadget::~GpsDisplayGadget ()
 
QWidget * GpsDisplayGadget::widget ()
 
 GpsDisplayGadgetFactory::GpsDisplayGadgetFactory (QObject *parent=nullptr)
 
 GpsDisplayGadgetFactory::~GpsDisplayGadgetFactory ()
 
Core::IUAVGadgetGpsDisplayGadgetFactory::createGadget (QWidget *parent)
 
 GpsDisplayWidget::GpsDisplayWidget (QWidget *parent=nullptr)
 
 GpsDisplayWidget::~GpsDisplayWidget ()
 
 GPSParser::~GPSParser ()
 
virtual void GPSParser::processInputStream (char c)
 
 GPSParser::GPSParser (QObject *parent=nullptr)
 
 TelemetryParser::TelemetryParser (QObject *parent=nullptr)
 
 TelemetryParser::~TelemetryParser ()
 

Signals

void GPSParser::sv (int)
 
void GPSParser::position (double, double, double)
 
void GPSParser::datetime (double, double)
 
void GPSParser::speedheading (double, double)
 
void GPSParser::satellite (int, int, int, int, int)
 
void GPSParser::satellitesDone ()
 
void GPSParser::fixmode (QString)
 
void GPSParser::fixtype (QString)
 
void GPSParser::dop (double, double, double)
 
void GPSParser::fixSVs (QList< int >)
 

Public Slots

void GpsConstellationWidget::updateSat (int index, int prn, int elevation, int azimuth, int snr)
 
void TelemetryParser::updateGPS (UAVObject *object1)
 
void TelemetryParser::updateTime (UAVObject *object1)
 
void TelemetryParser::updateSats (UAVObject *object1)
 

Detailed Description

A widget which displays the GPS constellation.

A gadget that displays GPS status and enables basic configuration.

A gadget that displays GPS status.

Function Documentation

Core::IUAVGadget * GpsDisplayGadgetFactory::createGadget ( QWidget *  parent)
virtual

Implements Core::IUAVGadgetFactory.

Definition at line 40 of file gpsdisplaygadgetfactory.cpp.

GpsConstellationWidget::GpsConstellationWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 35 of file gpsconstellationwidget.cpp.

GpsDisplayGadget::GpsDisplayGadget ( QString  classId,
GpsDisplayWidget widget,
QWidget *  parent = nullptr 
)

Definition at line 30 of file gpsdisplaygadget.cpp.

GpsDisplayGadgetFactory::GpsDisplayGadgetFactory ( QObject *  parent = nullptr)

Definition at line 31 of file gpsdisplaygadgetfactory.cpp.

GpsDisplayWidget::GpsDisplayWidget ( QWidget *  parent = nullptr)

Definition at line 43 of file gpsdisplaywidget.cpp.

GPSParser::GPSParser ( QObject *  parent = nullptr)
protected

Definition at line 29 of file gpsparser.cpp.

void GPSParser::processInputStream ( char  c)
virtual

Definition at line 39 of file gpsparser.cpp.

void GpsConstellationWidget::resizeEvent ( QResizeEvent *  event)
protected

Definition at line 105 of file gpsconstellationwidget.cpp.

void GpsConstellationWidget::showEvent ( QShowEvent *  event)
protected

Definition at line 92 of file gpsconstellationwidget.cpp.

TelemetryParser::TelemetryParser ( QObject *  parent = nullptr)

Initialize the parser

Definition at line 37 of file telemetryparser.cpp.

QWidget* GpsDisplayGadget::widget ( )
inlinevirtual

Implements Core::IUAVGadget.

Definition at line 50 of file gpsdisplaygadget.h.

GpsConstellationWidget::~GpsConstellationWidget ( )

Definition at line 83 of file gpsconstellationwidget.cpp.

GpsDisplayGadget::~GpsDisplayGadget ( )

Definition at line 53 of file gpsdisplaygadget.cpp.

GpsDisplayGadgetFactory::~GpsDisplayGadgetFactory ( )

Definition at line 36 of file gpsdisplaygadgetfactory.cpp.

GpsDisplayWidget::~GpsDisplayWidget ( )

Definition at line 62 of file gpsdisplaywidget.cpp.

GPSParser::~GPSParser ( )

Definition at line 35 of file gpsparser.cpp.

TelemetryParser::~TelemetryParser ( )

Definition at line 62 of file telemetryparser.cpp.

Signals

void GPSParser::datetime ( double  ,
double   
)
signal
void GPSParser::dop ( double  ,
double  ,
double   
)
signal
void GPSParser::fixmode ( QString  )
signal
void GPSParser::fixSVs ( QList< int >  )
signal
void GPSParser::fixtype ( QString  )
signal
void GPSParser::position ( double  ,
double  ,
double   
)
signal
void GPSParser::satellite ( int  ,
int  ,
int  ,
int  ,
int   
)
signal
void GPSParser::satellitesDone ( )
signal
void GPSParser::speedheading ( double  ,
double   
)
signal
void GPSParser::sv ( int  )
signal

Public Slots

void TelemetryParser::updateGPS ( UAVObject object1)
slot

Definition at line 66 of file telemetryparser.cpp.

void GpsConstellationWidget::updateSat ( int  index,
int  prn,
int  elevation,
int  azimuth,
int  snr 
)
slot

Definition at line 111 of file gpsconstellationwidget.cpp.

void TelemetryParser::updateSats ( UAVObject object1)
slot

Updates the satellite constellation.

Not really optimized for now, we should only send updates for the stas which have changed instead of updating everything... That said, Qt is supposed to be able to optimize redraws anyway.

Definition at line 111 of file telemetryparser.cpp.

void TelemetryParser::updateTime ( UAVObject object1)
slot

Definition at line 91 of file telemetryparser.cpp.