dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
GCSControlGadgetWidget Class Reference

#include <gcscontrolgadgetwidget.h>

Inheritance diagram for GCSControlGadgetWidget:

Public Slots

void updateSticks (double leftX, double leftY, double rightX, double rightY)
 Signals from parent gadget indicating change from the remote system. More...
 
void leftStickClicked (double X, double Y)
 
void rightStickClicked (double X, double Y)
 

Signals

void sticksChanged (double leftX, double leftY, double rightX, double rightY, double arming)
 Emitted whenever the UI is clicked on to indicate the new stick positions. More...
 
void controlEnabled (bool)
 
void flightModeChangedLocally (ManualControlSettings::FlightModePositionOptions)
 

Public Member Functions

 GCSControlGadgetWidget (QWidget *parent=nullptr)
 
void allowGcsControl (bool allow)
 Allow the GCS to take over control of UAV. More...
 
void setGCSControl (bool newState)
 
bool getGCSControl (void)
 

Protected Slots

void toggleControl (bool checked)
 Called when the gcs control is toggled. More...
 
void toggleArming (bool checked)
 Called when the gcs control is toggled. More...
 
void selectFlightMode (int state)
 Called when the flight mode drop down is changed and sets the ManualControlCommand->FlightMode accordingly. More...
 
void flightModeChanged (quint8 mode)
 
void armedChanged (quint8 armed)
 

Detailed Description

Definition at line 37 of file gcscontrolgadgetwidget.h.


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