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

A gadget to control the UAV, either from the keyboard or a joystick. More...

Namespaces

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

Classes

class  GCSControlGadget
 
struct  buttonSettingsStruct
 
struct  portSettingsStruct
 
class  GCSControlGadgetConfiguration
 
class  GCSControlGadgetFactory
 
class  GCSControlGadgetOptionsPage
 
class  GCSControlGadgetWidget
 
class  JoystickControl
 
class  LoggingGadget
 
class  LoggingGadgetFactory
 
class  LoggingGadgetWidget
 
class  MagicWaypointGadget
 
class  MagicWaypointGadgetFactory
 
class  MagicWaypointGadgetWidget
 
class  MagicWaypointPlugin
 
class  PositionField
 

Functions

 GCSControlGadget::GCSControlGadget (QString classId, GCSControlGadgetWidget *widget, QWidget *parent=nullptr, QObject *plugin=nullptr)
 
 GCSControlGadget::~GCSControlGadget ()
 
QList< int > GCSControlGadget::context () const
 
QWidget * GCSControlGadget::widget ()
 
QString GCSControlGadget::contextHelpId () const
 
void GCSControlGadget::loadConfiguration (IUAVGadgetConfiguration *config)
 
 GCSControlGadgetConfiguration::GCSControlGadgetConfiguration (QString classId, QSettings *qSettings=nullptr, QObject *parent=nullptr)
 
void GCSControlGadgetConfiguration::setControlsMode (int mode)
 
void GCSControlGadgetConfiguration::setRPYTchannels (int roll, int pitch, int yaw, int throttle)
 
int GCSControlGadgetConfiguration::getControlsMode ()
 
QList< int > GCSControlGadgetConfiguration::getChannelsMapping ()
 
QList< bool > GCSControlGadgetConfiguration::getChannelsReverse ()
 
buttonSettingsStruct GCSControlGadgetConfiguration::getbuttonSettings (int i)
 
void GCSControlGadgetConfiguration::setbuttonSettingsAction (int i, int ActionID)
 
void GCSControlGadgetConfiguration::setbuttonSettingsFunction (int i, int FunctionID)
 
void GCSControlGadgetConfiguration::setbuttonSettingsAmount (int i, double Amount)
 
void GCSControlGadgetConfiguration::setChannelReverse (int i, bool Reverse)
 
bool GCSControlGadgetConfiguration::getGcsReceiverMode ()
 
void GCSControlGadgetConfiguration::setGcsReceiverMode (bool enable)
 
void GCSControlGadgetConfiguration::saveConfig (QSettings *settings) const
 
IUAVGadgetConfiguration * GCSControlGadgetConfiguration::clone ()
 
 GCSControlGadgetFactory::GCSControlGadgetFactory (QObject *parent=nullptr)
 
 GCSControlGadgetFactory::~GCSControlGadgetFactory ()
 
IUAVGadget * GCSControlGadgetFactory::createGadget (QWidget *parent)
 
IUAVGadgetConfiguration * GCSControlGadgetFactory::createConfiguration (QSettings *qSettings)
 
IOptionsPage * GCSControlGadgetFactory::createOptionsPage (IUAVGadgetConfiguration *config)
 
 GCSControlGadgetOptionsPage::GCSControlGadgetOptionsPage (GCSControlGadgetConfiguration *config, QObject *parent=nullptr)
 
 GCSControlGadgetOptionsPage::~GCSControlGadgetOptionsPage ()
 
QWidget * GCSControlGadgetOptionsPage::createPage (QWidget *parent)
 
void GCSControlGadgetOptionsPage::apply ()
 
void GCSControlGadgetOptionsPage::finish ()
 
 GCSControlGadgetWidget::GCSControlGadgetWidget (QWidget *parent=nullptr)
 
void GCSControlGadgetWidget::allowGcsControl (bool allow)
 Allow the GCS to take over control of UAV. More...
 
void GCSControlGadgetWidget::setGCSControl (bool newState)
 
bool GCSControlGadgetWidget::getGCSControl (void)
 
 LoggingGadget::LoggingGadget (QString classId, LoggingGadgetWidget *widget, QWidget *parent=nullptr)
 
 LoggingGadget::~LoggingGadget ()
 
QList< int > LoggingGadget::context () const
 
QWidget * LoggingGadget::widget ()
 
QString LoggingGadget::contextHelpId () const
 
void LoggingGadget::loadConfiguration (IUAVGadgetConfiguration *config)
 
 LoggingGadgetFactory::LoggingGadgetFactory (QObject *parent=nullptr)
 
 LoggingGadgetFactory::~LoggingGadgetFactory ()
 
void LoggingGadgetFactory::setPlugin (LoggingPlugin *p)
 
IUAVGadget * LoggingGadgetFactory::createGadget (QWidget *parent)
 
 LoggingGadgetWidget::LoggingGadgetWidget (QWidget *parent=nullptr)
 
 LoggingGadgetWidget::~LoggingGadgetWidget ()
 
void LoggingGadgetWidget::setPlugin (LoggingPlugin *p)
 
 MagicWaypointGadget::MagicWaypointGadget (QString classId, MagicWaypointGadgetWidget *widget, QWidget *parent=nullptr)
 
 MagicWaypointGadget::~MagicWaypointGadget ()
 
QList< int > MagicWaypointGadget::context () const
 
QWidget * MagicWaypointGadget::widget ()
 
QString MagicWaypointGadget::contextHelpId () const
 
void MagicWaypointGadget::loadConfiguration (IUAVGadgetConfiguration *config)
 
 MagicWaypointGadgetFactory::MagicWaypointGadgetFactory (QObject *parent=nullptr)
 
 MagicWaypointGadgetFactory::~MagicWaypointGadgetFactory ()
 
IUAVGadget * MagicWaypointGadgetFactory::createGadget (QWidget *parent)
 
 MagicWaypointGadgetWidget::MagicWaypointGadgetWidget (QWidget *parent=nullptr)
 
 MagicWaypointGadgetWidget::~MagicWaypointGadgetWidget ()
 
 JoystickControl::JoystickControl (QWidget *parent=nullptr)
 Constructor for JoystickControl widget. Sets up the image of a joystick. More...
 
 JoystickControl::~JoystickControl ()
 
void JoystickControl::mouseMoveEvent (QMouseEvent *event)
 Redirect mouse move events to control position. More...
 
void JoystickControl::mousePressEvent (QMouseEvent *event)
 Redirect mouse move clicks to control position. More...
 
void JoystickControl::paint ()
 
void JoystickControl::paintEvent (QPaintEvent *event)
 
void JoystickControl::resizeEvent (QResizeEvent *event)
 
 PositionField::PositionField (QWidget *parent=nullptr)
 Constructor for JoystickControl widget. Sets up the image of a joystick. More...
 
 PositionField::~PositionField ()
 
void PositionField::mouseMoveEvent (QMouseEvent *event)
 Redirect mouse move events to control position. More...
 
void PositionField::mousePressEvent (QMouseEvent *event)
 Redirect mouse move clicks to control position. More...
 
void PositionField::paint ()
 
void PositionField::paintEvent (QPaintEvent *event)
 
void PositionField::resizeEvent (QResizeEvent *event)
 

Variables

int buttonSettingsStruct::ActionID
 
int buttonSettingsStruct::FunctionID
 
double buttonSettingsStruct::Amount
 
int portSettingsStruct::port
 
QHostAddress portSettingsStruct::address
 

Signals

void GCSControlGadget::sticksChangedRemotely (double leftX, double leftY, double rightX, double rightY)
 
void GCSControlGadgetWidget::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 GCSControlGadgetWidget::controlEnabled (bool)
 
void GCSControlGadgetWidget::flightModeChangedLocally (ManualControlSettings::FlightModePositionOptions)
 
void LoggingGadgetWidget::pause ()
 
void LoggingGadgetWidget::play ()
 
void MagicWaypointGadgetWidget::positionActualObjectChanged (double north, double east)
 
void MagicWaypointGadgetWidget::positionDesiredObjectChanged (double north, double east)
 

Public Slots

void GCSControlGadgetWidget::updateSticks (double leftX, double leftY, double rightX, double rightY)
 Signals from parent gadget indicating change from the remote system. More...
 
void GCSControlGadgetWidget::leftStickClicked (double X, double Y)
 
void GCSControlGadgetWidget::rightStickClicked (double X, double Y)
 
void JoystickControl::changePosition (double x, double y)
 Update the displayed position based on an MCC update. More...
 
void PositionField::updateDesiredIndicator (double north, double east)
 Update aircraft position on image (values go from -1 to 1) More...
 
void PositionField::updateActualIndicator (double north, double east)
 

Protected Slots

void GCSControlGadget::manualControlCommandUpdated (UAVObject *)
 
void GCSControlGadget::sticksChangedLocally (double leftX, double leftY, double rightX, double rightY, double arming)
 
void GCSControlGadget::flightModeChanged (ManualControlSettings::FlightModePositionOptions mode)
 
void GCSControlGadget::enableControl (bool enable)
 Enable or disable sending data. More...
 
void GCSControlGadget::gamepads (quint8 count)
 
void GCSControlGadget::buttonState (ButtonNumber number, bool pressed)
 
void GCSControlGadget::axesValues (QListInt16 values)
 
void GCSControlGadgetOptionsPage::gamepads (quint8 count)
 
void GCSControlGadgetOptionsPage::buttonState (ButtonNumber number, bool pressed)
 
void GCSControlGadgetOptionsPage::axesValues (QListInt16 values)
 
void GCSControlGadgetOptionsPage::updateButtonFunction ()
 
void GCSControlGadgetOptionsPage::updateButtonAction (int controlID)
 
void GCSControlGadgetOptionsPage::updateButtonAction_0 (void)
 
void GCSControlGadgetOptionsPage::updateButtonAction_1 (void)
 
void GCSControlGadgetOptionsPage::updateButtonAction_2 (void)
 
void GCSControlGadgetOptionsPage::updateButtonAction_3 (void)
 
void GCSControlGadgetOptionsPage::updateButtonAction_4 (void)
 
void GCSControlGadgetOptionsPage::updateButtonAction_5 (void)
 
void GCSControlGadgetOptionsPage::updateButtonAction_6 (void)
 
void GCSControlGadgetOptionsPage::updateButtonAction_7 (void)
 
void GCSControlGadgetWidget::toggleControl (bool checked)
 Called when the gcs control is toggled. More...
 
void GCSControlGadgetWidget::toggleArming (bool checked)
 Called when the gcs control is toggled. More...
 
void GCSControlGadgetWidget::selectFlightMode (int state)
 Called when the flight mode drop down is changed and sets the ManualControlCommand->FlightMode accordingly. More...
 
void GCSControlGadgetWidget::flightModeChanged (quint8 mode)
 
void GCSControlGadgetWidget::armedChanged (quint8 armed)
 
void LoggingGadgetWidget::stateChanged (QString status)
 
void MagicWaypointGadgetWidget::scaleChanged (int scale)
 
void MagicWaypointGadgetWidget::positionActualChanged (UAVObject *)
 
void MagicWaypointGadgetWidget::pathDesiredChanged (UAVObject *)
 
void MagicWaypointGadgetWidget::positionSelected (double north, double east)
 

Detailed Description

A gadget to control the UAV, either from the keyboard or a joystick.

A that mimics a transmitter joystick and updates the MCC.

The plugin that mimics a transmitter joystick and updates the MCC.

A place holder gadget plugin.

Function Documentation

void GCSControlGadgetWidget::allowGcsControl ( bool  allow)

Allow the GCS to take over control of UAV.

Definition at line 148 of file gcscontrolgadgetwidget.cpp.

void GCSControlGadgetOptionsPage::apply ( )
virtual

Called when the user presses apply or OK.

Saves the current values

Implements Core::IOptionsPage.

Definition at line 235 of file gcscontrolgadgetoptionspage.cpp.

IUAVGadgetConfiguration * GCSControlGadgetConfiguration::clone ( )
virtual

Clones a configuration.

Implements Core::IUAVGadgetConfiguration.

Definition at line 108 of file gcscontrolgadgetconfiguration.cpp.

QList<int> LoggingGadget::context ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 48 of file logginggadget.h.

QList<int> MagicWaypointGadget::context ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 48 of file magicwaypointgadget.h.

QList<int> GCSControlGadget::context ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 60 of file gcscontrolgadget.h.

QString LoggingGadget::contextHelpId ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 50 of file logginggadget.h.

QString MagicWaypointGadget::contextHelpId ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 50 of file magicwaypointgadget.h.

QString GCSControlGadget::contextHelpId ( ) const
inlinevirtual

Reimplemented from Core::IUAVGadget.

Definition at line 62 of file gcscontrolgadget.h.

IUAVGadgetConfiguration * GCSControlGadgetFactory::createConfiguration ( QSettings *  qSettings)
virtual

Reimplemented from Core::IUAVGadgetFactory.

Definition at line 46 of file gcscontrolgadgetfactory.cpp.

IUAVGadget * MagicWaypointGadgetFactory::createGadget ( QWidget *  parent)
virtual

Implements Core::IUAVGadgetFactory.

Definition at line 41 of file magicwaypointgadgetfactory.cpp.

IUAVGadget * GCSControlGadgetFactory::createGadget ( QWidget *  parent)
virtual

Implements Core::IUAVGadgetFactory.

Definition at line 40 of file gcscontrolgadgetfactory.cpp.

IUAVGadget * LoggingGadgetFactory::createGadget ( QWidget *  parent)
virtual

Implements Core::IUAVGadgetFactory.

Definition at line 40 of file logginggadgetfactory.cpp.

IOptionsPage * GCSControlGadgetFactory::createOptionsPage ( IUAVGadgetConfiguration *  config)
virtual

Reimplemented from Core::IUAVGadgetFactory.

Definition at line 51 of file gcscontrolgadgetfactory.cpp.

QWidget * GCSControlGadgetOptionsPage::createPage ( QWidget *  parent)
virtual

Implements Core::IOptionsPage.

Definition at line 98 of file gcscontrolgadgetoptionspage.cpp.

void GCSControlGadgetOptionsPage::finish ( )
virtual

Implements Core::IOptionsPage.

Definition at line 268 of file gcscontrolgadgetoptionspage.cpp.

GCSControlGadget::GCSControlGadget ( QString  classId,
GCSControlGadgetWidget widget,
QWidget *  parent = nullptr,
QObject *  plugin = nullptr 
)

Definition at line 37 of file gcscontrolgadget.cpp.

GCSControlGadgetConfiguration::GCSControlGadgetConfiguration ( QString  classId,
QSettings *  qSettings = nullptr,
QObject *  parent = nullptr 
)
explicit

Loads a saved configuration or defaults if non exist.

Definition at line 33 of file gcscontrolgadgetconfiguration.cpp.

GCSControlGadgetFactory::GCSControlGadgetFactory ( QObject *  parent = nullptr)

Definition at line 31 of file gcscontrolgadgetfactory.cpp.

GCSControlGadgetOptionsPage::GCSControlGadgetOptionsPage ( GCSControlGadgetConfiguration config,
QObject *  parent = nullptr 
)
explicit

Definition at line 36 of file gcscontrolgadgetoptionspage.cpp.

GCSControlGadgetWidget::GCSControlGadgetWidget ( QWidget *  parent = nullptr)

Definition at line 42 of file gcscontrolgadgetwidget.cpp.

buttonSettingsStruct GCSControlGadgetConfiguration::getbuttonSettings ( int  i)
inline

Definition at line 61 of file gcscontrolgadgetconfiguration.h.

QList< int > GCSControlGadgetConfiguration::getChannelsMapping ( )

Definition at line 78 of file gcscontrolgadgetconfiguration.cpp.

QList< bool > GCSControlGadgetConfiguration::getChannelsReverse ( )

Definition at line 84 of file gcscontrolgadgetconfiguration.cpp.

int GCSControlGadgetConfiguration::getControlsMode ( )
inline

Definition at line 57 of file gcscontrolgadgetconfiguration.h.

bool GCSControlGadgetWidget::getGCSControl ( void  )

Definition at line 163 of file gcscontrolgadgetwidget.cpp.

bool GCSControlGadgetConfiguration::getGcsReceiverMode ( )

Definition at line 94 of file gcscontrolgadgetconfiguration.cpp.

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

Constructor for JoystickControl widget. Sets up the image of a joystick.

Definition at line 36 of file joystickcontrol.cpp.

void LoggingGadget::loadConfiguration ( IUAVGadgetConfiguration *  config)
virtual

Reimplemented from Core::IUAVGadget.

Definition at line 44 of file logginggadget.cpp.

void MagicWaypointGadget::loadConfiguration ( IUAVGadgetConfiguration *  config)
virtual

Reimplemented from Core::IUAVGadget.

Definition at line 46 of file magicwaypointgadget.cpp.

void GCSControlGadget::loadConfiguration ( IUAVGadgetConfiguration *  config)
virtual

Reimplemented from Core::IUAVGadget.

Definition at line 74 of file gcscontrolgadget.cpp.

LoggingGadget::LoggingGadget ( QString  classId,
LoggingGadgetWidget widget,
QWidget *  parent = nullptr 
)

Definition at line 33 of file logginggadget.cpp.

LoggingGadgetFactory::LoggingGadgetFactory ( QObject *  parent = nullptr)

Definition at line 32 of file logginggadgetfactory.cpp.

LoggingGadgetWidget::LoggingGadgetWidget ( QWidget *  parent = nullptr)

Definition at line 37 of file logginggadgetwidget.cpp.

MagicWaypointGadget::MagicWaypointGadget ( QString  classId,
MagicWaypointGadgetWidget widget,
QWidget *  parent = nullptr 
)

Definition at line 34 of file magicwaypointgadget.cpp.

MagicWaypointGadgetFactory::MagicWaypointGadgetFactory ( QObject *  parent = nullptr)

Definition at line 32 of file magicwaypointgadgetfactory.cpp.

MagicWaypointGadgetWidget::MagicWaypointGadgetWidget ( QWidget *  parent = nullptr)

Definition at line 43 of file magicwaypointgadgetwidget.cpp.

void PositionField::mouseMoveEvent ( QMouseEvent *  event)
protected

Redirect mouse move events to control position.

Definition at line 105 of file positionfield.cpp.

void JoystickControl::mouseMoveEvent ( QMouseEvent *  event)
protected

Redirect mouse move events to control position.

Definition at line 94 of file joystickcontrol.cpp.

void PositionField::mousePressEvent ( QMouseEvent *  event)
protected

Redirect mouse move clicks to control position.

Definition at line 118 of file positionfield.cpp.

void JoystickControl::mousePressEvent ( QMouseEvent *  event)
protected

Redirect mouse move clicks to control position.

Definition at line 116 of file joystickcontrol.cpp.

void PositionField::paint ( )

Definition at line 125 of file positionfield.cpp.

void JoystickControl::paint ( )

Definition at line 123 of file joystickcontrol.cpp.

void PositionField::paintEvent ( QPaintEvent *  event)
protected

Definition at line 130 of file positionfield.cpp.

void JoystickControl::paintEvent ( QPaintEvent *  event)
protected

Definition at line 128 of file joystickcontrol.cpp.

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

Constructor for JoystickControl widget. Sets up the image of a joystick.

Definition at line 41 of file positionfield.cpp.

void PositionField::resizeEvent ( QResizeEvent *  event)
protected

Definition at line 140 of file positionfield.cpp.

void JoystickControl::resizeEvent ( QResizeEvent *  event)
protected

Definition at line 138 of file joystickcontrol.cpp.

void GCSControlGadgetConfiguration::saveConfig ( QSettings *  settings) const
virtual

Saves a configuration.

Reimplemented from Core::IUAVGadgetConfiguration.

Definition at line 135 of file gcscontrolgadgetconfiguration.cpp.

void GCSControlGadgetConfiguration::setbuttonSettingsAction ( int  i,
int  ActionID 
)
inline

Definition at line 62 of file gcscontrolgadgetconfiguration.h.

void GCSControlGadgetConfiguration::setbuttonSettingsAmount ( int  i,
double  Amount 
)
inline

Definition at line 72 of file gcscontrolgadgetconfiguration.h.

void GCSControlGadgetConfiguration::setbuttonSettingsFunction ( int  i,
int  FunctionID 
)
inline

Definition at line 67 of file gcscontrolgadgetconfiguration.h.

void GCSControlGadgetConfiguration::setChannelReverse ( int  i,
bool  Reverse 
)
inline

Definition at line 77 of file gcscontrolgadgetconfiguration.h.

void GCSControlGadgetConfiguration::setControlsMode ( int  mode)
inline

Definition at line 55 of file gcscontrolgadgetconfiguration.h.

void GCSControlGadgetWidget::setGCSControl ( bool  newState)

Definition at line 158 of file gcscontrolgadgetwidget.cpp.

void GCSControlGadgetConfiguration::setGcsReceiverMode ( bool  enable)

Definition at line 99 of file gcscontrolgadgetconfiguration.cpp.

void LoggingGadgetWidget::setPlugin ( LoggingPlugin p)

Definition at line 52 of file logginggadgetwidget.cpp.

void LoggingGadgetFactory::setPlugin ( LoggingPlugin p)
inline

Definition at line 47 of file logginggadgetfactory.h.

void GCSControlGadgetConfiguration::setRPYTchannels ( int  roll,
int  pitch,
int  yaw,
int  throttle 
)

Definition at line 70 of file gcscontrolgadgetconfiguration.cpp.

QWidget* MagicWaypointGadget::widget ( )
inlinevirtual

Implements Core::IUAVGadget.

Definition at line 49 of file magicwaypointgadget.h.

QWidget* LoggingGadget::widget ( )
inlinevirtual

Implements Core::IUAVGadget.

Definition at line 49 of file logginggadget.h.

QWidget* GCSControlGadget::widget ( )
inlinevirtual

Implements Core::IUAVGadget.

Definition at line 61 of file gcscontrolgadget.h.

GCSControlGadget::~GCSControlGadget ( )

Definition at line 69 of file gcscontrolgadget.cpp.

GCSControlGadgetFactory::~GCSControlGadgetFactory ( )

Definition at line 36 of file gcscontrolgadgetfactory.cpp.

GCSControlGadgetOptionsPage::~GCSControlGadgetOptionsPage ( )

Definition at line 48 of file gcscontrolgadgetoptionspage.cpp.

JoystickControl::~JoystickControl ( )

Definition at line 75 of file joystickcontrol.cpp.

LoggingGadget::~LoggingGadget ( )

Definition at line 39 of file logginggadget.cpp.

LoggingGadgetFactory::~LoggingGadgetFactory ( )

Definition at line 38 of file logginggadgetfactory.cpp.

LoggingGadgetWidget::~LoggingGadgetWidget ( )

Definition at line 47 of file logginggadgetwidget.cpp.

MagicWaypointGadget::~MagicWaypointGadget ( )

Definition at line 41 of file magicwaypointgadget.cpp.

MagicWaypointGadgetFactory::~MagicWaypointGadgetFactory ( )

Definition at line 37 of file magicwaypointgadgetfactory.cpp.

MagicWaypointGadgetWidget::~MagicWaypointGadgetWidget ( )

Definition at line 71 of file magicwaypointgadgetwidget.cpp.

PositionField::~PositionField ( )

Definition at line 77 of file positionfield.cpp.

Variable Documentation

int buttonSettingsStruct::ActionID

Definition at line 35 of file gcscontrolgadgetconfiguration.h.

QHostAddress portSettingsStruct::address

Definition at line 43 of file gcscontrolgadgetconfiguration.h.

double buttonSettingsStruct::Amount

Definition at line 37 of file gcscontrolgadgetconfiguration.h.

int buttonSettingsStruct::FunctionID

Definition at line 36 of file gcscontrolgadgetconfiguration.h.

int portSettingsStruct::port

Definition at line 42 of file gcscontrolgadgetconfiguration.h.

Signals

void GCSControlGadgetWidget::controlEnabled ( bool  )
signal
void GCSControlGadgetWidget::flightModeChangedLocally ( ManualControlSettings::FlightModePositionOptions  )
signal
void LoggingGadgetWidget::pause ( )
signal
void LoggingGadgetWidget::play ( )
signal
void MagicWaypointGadgetWidget::positionActualObjectChanged ( double  north,
double  east 
)
signal
void MagicWaypointGadgetWidget::positionDesiredObjectChanged ( double  north,
double  east 
)
signal
void GCSControlGadgetWidget::sticksChanged ( double  leftX,
double  leftY,
double  rightX,
double  rightY,
double  arming 
)
signal

Emitted whenever the UI is clicked on to indicate the new stick positions.

void GCSControlGadget::sticksChangedRemotely ( double  leftX,
double  leftY,
double  rightX,
double  rightY 
)
signal

Public Slots

void JoystickControl::changePosition ( double  x,
double  y 
)
slot

Update the displayed position based on an MCC update.

Definition at line 83 of file joystickcontrol.cpp.

void GCSControlGadgetWidget::leftStickClicked ( double  X,
double  Y 
)
slot

Definition at line 93 of file gcscontrolgadgetwidget.cpp.

void GCSControlGadgetWidget::rightStickClicked ( double  X,
double  Y 
)
slot

Definition at line 100 of file gcscontrolgadgetwidget.cpp.

void PositionField::updateActualIndicator ( double  north,
double  east 
)
slot

Definition at line 93 of file positionfield.cpp.

void PositionField::updateDesiredIndicator ( double  north,
double  east 
)
slot

Update aircraft position on image (values go from -1 to 1)

Definition at line 84 of file positionfield.cpp.

void GCSControlGadgetWidget::updateSticks ( double  leftX,
double  leftY,
double  rightX,
double  rightY 
)
slot

Signals from parent gadget indicating change from the remote system.

Definition at line 82 of file gcscontrolgadgetwidget.cpp.

Protected Slots

void GCSControlGadgetWidget::armedChanged ( quint8  armed)
protectedslot

Definition at line 134 of file gcscontrolgadgetwidget.cpp.

void GCSControlGadgetOptionsPage::axesValues ( QListInt16  values)
protectedslot

Definition at line 74 of file gcscontrolgadgetoptionspage.cpp.

void GCSControlGadget::axesValues ( QListInt16  values)
protectedslot
Todo:
need to appropriately plumb

Definition at line 360 of file gcscontrolgadget.cpp.

void GCSControlGadgetOptionsPage::buttonState ( ButtonNumber  number,
bool  pressed 
)
protectedslot

Definition at line 58 of file gcscontrolgadgetoptionspage.cpp.

void GCSControlGadget::buttonState ( ButtonNumber  number,
bool  pressed 
)
protectedslot

Definition at line 263 of file gcscontrolgadget.cpp.

void GCSControlGadget::enableControl ( bool  enable)
protectedslot

Enable or disable sending data.

GCSControlGadget::enableControl Enable or disable sending updates In the case of GCSReceiver mode it enables the timer for updates.

Parameters
enableWhether to enable or disable it

Definition at line 103 of file gcscontrolgadget.cpp.

void GCSControlGadgetWidget::flightModeChanged ( quint8  mode)
protectedslot

Definition at line 129 of file gcscontrolgadgetwidget.cpp.

void GCSControlGadget::flightModeChanged ( ManualControlSettings::FlightModePositionOptions  mode)
protectedslot

Definition at line 242 of file gcscontrolgadget.cpp.

void GCSControlGadgetOptionsPage::gamepads ( quint8  count)
protectedslot

Definition at line 52 of file gcscontrolgadgetoptionspage.cpp.

void GCSControlGadget::gamepads ( quint8  count)
protectedslot

Definition at line 248 of file gcscontrolgadget.cpp.

void GCSControlGadget::manualControlCommandUpdated ( UAVObject obj)
protectedslot

Definition at line 128 of file gcscontrolgadget.cpp.

void MagicWaypointGadgetWidget::pathDesiredChanged ( UAVObject )
protectedslot

Emit a position changed signal when PathDesired is changed

Definition at line 125 of file magicwaypointgadgetwidget.cpp.

void MagicWaypointGadgetWidget::positionActualChanged ( UAVObject )
protectedslot

Emit a position changed signal when PositionActual object is changed

Definition at line 114 of file magicwaypointgadgetwidget.cpp.

void MagicWaypointGadgetWidget::positionSelected ( double  north,
double  east 
)
protectedslot

Slot called by visualization when a new PathDesired is requested

Definition at line 137 of file magicwaypointgadgetwidget.cpp.

void MagicWaypointGadgetWidget::scaleChanged ( int  scale)
protectedslot

Detect changes in scale and update visualization (does not change position)

Definition at line 104 of file magicwaypointgadgetwidget.cpp.

void GCSControlGadgetWidget::selectFlightMode ( int  state)
protectedslot

Called when the flight mode drop down is changed and sets the ManualControlCommand->FlightMode accordingly.

Definition at line 142 of file gcscontrolgadgetwidget.cpp.

void LoggingGadgetWidget::stateChanged ( QString  status)
protectedslot

Definition at line 67 of file logginggadgetwidget.cpp.

void GCSControlGadget::sticksChangedLocally ( double  leftX,
double  leftY,
double  rightX,
double  rightY,
double  arming 
)
protectedslot

Update the manual commands - maps depending on mode

Definition at line 163 of file gcscontrolgadget.cpp.

void GCSControlGadgetWidget::toggleArming ( bool  checked)
protectedslot

Called when the gcs control is toggled.

Definition at line 110 of file gcscontrolgadgetwidget.cpp.

void GCSControlGadgetWidget::toggleControl ( bool  checked)
protectedslot

Called when the gcs control is toggled.

Definition at line 124 of file gcscontrolgadgetwidget.cpp.

void GCSControlGadgetOptionsPage::updateButtonAction ( int  controlID)
protectedslot

Definition at line 296 of file gcscontrolgadgetoptionspage.cpp.

void GCSControlGadgetOptionsPage::updateButtonAction_0 ( void  )
inlineprotectedslot

Definition at line 90 of file gcscontrolgadgetoptionspage.h.

void GCSControlGadgetOptionsPage::updateButtonAction_1 ( void  )
inlineprotectedslot

Definition at line 91 of file gcscontrolgadgetoptionspage.h.

void GCSControlGadgetOptionsPage::updateButtonAction_2 ( void  )
inlineprotectedslot

Definition at line 92 of file gcscontrolgadgetoptionspage.h.

void GCSControlGadgetOptionsPage::updateButtonAction_3 ( void  )
inlineprotectedslot

Definition at line 93 of file gcscontrolgadgetoptionspage.h.

void GCSControlGadgetOptionsPage::updateButtonAction_4 ( void  )
inlineprotectedslot

Definition at line 94 of file gcscontrolgadgetoptionspage.h.

void GCSControlGadgetOptionsPage::updateButtonAction_5 ( void  )
inlineprotectedslot

Definition at line 95 of file gcscontrolgadgetoptionspage.h.

void GCSControlGadgetOptionsPage::updateButtonAction_6 ( void  )
inlineprotectedslot

Definition at line 96 of file gcscontrolgadgetoptionspage.h.

void GCSControlGadgetOptionsPage::updateButtonAction_7 ( void  )
inlineprotectedslot

Definition at line 97 of file gcscontrolgadgetoptionspage.h.

void GCSControlGadgetOptionsPage::updateButtonFunction ( )
protectedslot

Definition at line 277 of file gcscontrolgadgetoptionspage.cpp.