dRonin
adbada4
dRonin GCS
|
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 |
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) |
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.
void GCSControlGadgetWidget::allowGcsControl | ( | bool | allow | ) |
Allow the GCS to take over control of UAV.
Definition at line 148 of file gcscontrolgadgetwidget.cpp.
|
virtual |
Called when the user presses apply or OK.
Saves the current values
Implements Core::IOptionsPage.
Definition at line 235 of file gcscontrolgadgetoptionspage.cpp.
|
virtual |
Clones a configuration.
Implements Core::IUAVGadgetConfiguration.
Definition at line 108 of file gcscontrolgadgetconfiguration.cpp.
|
inlinevirtual |
Reimplemented from Core::IUAVGadget.
Definition at line 48 of file logginggadget.h.
|
inlinevirtual |
Reimplemented from Core::IUAVGadget.
Definition at line 48 of file magicwaypointgadget.h.
|
inlinevirtual |
Reimplemented from Core::IUAVGadget.
Definition at line 60 of file gcscontrolgadget.h.
|
inlinevirtual |
Reimplemented from Core::IUAVGadget.
Definition at line 50 of file logginggadget.h.
|
inlinevirtual |
Reimplemented from Core::IUAVGadget.
Definition at line 50 of file magicwaypointgadget.h.
|
inlinevirtual |
Reimplemented from Core::IUAVGadget.
Definition at line 62 of file gcscontrolgadget.h.
|
virtual |
Reimplemented from Core::IUAVGadgetFactory.
Definition at line 46 of file gcscontrolgadgetfactory.cpp.
|
virtual |
Implements Core::IUAVGadgetFactory.
Definition at line 41 of file magicwaypointgadgetfactory.cpp.
|
virtual |
Implements Core::IUAVGadgetFactory.
Definition at line 40 of file gcscontrolgadgetfactory.cpp.
|
virtual |
Implements Core::IUAVGadgetFactory.
Definition at line 40 of file logginggadgetfactory.cpp.
|
virtual |
Reimplemented from Core::IUAVGadgetFactory.
Definition at line 51 of file gcscontrolgadgetfactory.cpp.
|
virtual |
Implements Core::IOptionsPage.
Definition at line 98 of file gcscontrolgadgetoptionspage.cpp.
|
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.
|
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.
|
explicit |
Definition at line 36 of file gcscontrolgadgetoptionspage.cpp.
GCSControlGadgetWidget::GCSControlGadgetWidget | ( | QWidget * | parent = nullptr | ) |
Definition at line 42 of file gcscontrolgadgetwidget.cpp.
|
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.
|
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.
|
explicit |
Constructor for JoystickControl widget. Sets up the image of a joystick.
Definition at line 36 of file joystickcontrol.cpp.
|
virtual |
Reimplemented from Core::IUAVGadget.
Definition at line 44 of file logginggadget.cpp.
|
virtual |
Reimplemented from Core::IUAVGadget.
Definition at line 46 of file magicwaypointgadget.cpp.
|
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.
|
protected |
Redirect mouse move events to control position.
Definition at line 105 of file positionfield.cpp.
|
protected |
Redirect mouse move events to control position.
Definition at line 94 of file joystickcontrol.cpp.
|
protected |
Redirect mouse move clicks to control position.
Definition at line 118 of file positionfield.cpp.
|
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.
|
protected |
Definition at line 130 of file positionfield.cpp.
|
protected |
Definition at line 128 of file joystickcontrol.cpp.
|
explicit |
Constructor for JoystickControl widget. Sets up the image of a joystick.
Definition at line 41 of file positionfield.cpp.
|
protected |
Definition at line 140 of file positionfield.cpp.
|
protected |
Definition at line 138 of file joystickcontrol.cpp.
|
virtual |
Saves a configuration.
Reimplemented from Core::IUAVGadgetConfiguration.
Definition at line 135 of file gcscontrolgadgetconfiguration.cpp.
|
inline |
Definition at line 62 of file gcscontrolgadgetconfiguration.h.
|
inline |
Definition at line 72 of file gcscontrolgadgetconfiguration.h.
|
inline |
Definition at line 67 of file gcscontrolgadgetconfiguration.h.
|
inline |
Definition at line 77 of file gcscontrolgadgetconfiguration.h.
|
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.
|
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.
|
inlinevirtual |
Implements Core::IUAVGadget.
Definition at line 49 of file magicwaypointgadget.h.
|
inlinevirtual |
Implements Core::IUAVGadget.
Definition at line 49 of file logginggadget.h.
|
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.
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.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
Emitted whenever the UI is clicked on to indicate the new stick positions.
|
signal |
|
slot |
Update the displayed position based on an MCC update.
Definition at line 83 of file joystickcontrol.cpp.
|
slot |
Definition at line 93 of file gcscontrolgadgetwidget.cpp.
|
slot |
Definition at line 100 of file gcscontrolgadgetwidget.cpp.
|
slot |
Definition at line 93 of file positionfield.cpp.
|
slot |
Update aircraft position on image (values go from -1 to 1)
Definition at line 84 of file positionfield.cpp.
|
slot |
Signals from parent gadget indicating change from the remote system.
Definition at line 82 of file gcscontrolgadgetwidget.cpp.
|
protectedslot |
Definition at line 134 of file gcscontrolgadgetwidget.cpp.
|
protectedslot |
Definition at line 74 of file gcscontrolgadgetoptionspage.cpp.
|
protectedslot |
Definition at line 360 of file gcscontrolgadget.cpp.
|
protectedslot |
Definition at line 58 of file gcscontrolgadgetoptionspage.cpp.
|
protectedslot |
Definition at line 263 of file gcscontrolgadget.cpp.
|
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.
enable | Whether to enable or disable it |
Definition at line 103 of file gcscontrolgadget.cpp.
|
protectedslot |
Definition at line 129 of file gcscontrolgadgetwidget.cpp.
|
protectedslot |
Definition at line 242 of file gcscontrolgadget.cpp.
|
protectedslot |
Definition at line 52 of file gcscontrolgadgetoptionspage.cpp.
|
protectedslot |
Definition at line 248 of file gcscontrolgadget.cpp.
Definition at line 128 of file gcscontrolgadget.cpp.
Emit a position changed signal when PathDesired is changed
Definition at line 125 of file magicwaypointgadgetwidget.cpp.
Emit a position changed signal when PositionActual object is changed
Definition at line 114 of file magicwaypointgadgetwidget.cpp.
|
protectedslot |
Slot called by visualization when a new PathDesired is requested
Definition at line 137 of file magicwaypointgadgetwidget.cpp.
|
protectedslot |
Detect changes in scale and update visualization (does not change position)
Definition at line 104 of file magicwaypointgadgetwidget.cpp.
|
protectedslot |
Called when the flight mode drop down is changed and sets the ManualControlCommand->FlightMode accordingly.
Definition at line 142 of file gcscontrolgadgetwidget.cpp.
|
protectedslot |
Definition at line 67 of file logginggadgetwidget.cpp.
|
protectedslot |
Update the manual commands - maps depending on mode
Definition at line 163 of file gcscontrolgadget.cpp.
|
protectedslot |
Called when the gcs control is toggled.
Definition at line 110 of file gcscontrolgadgetwidget.cpp.
|
protectedslot |
Called when the gcs control is toggled.
Definition at line 124 of file gcscontrolgadgetwidget.cpp.
|
protectedslot |
Definition at line 296 of file gcscontrolgadgetoptionspage.cpp.
Definition at line 90 of file gcscontrolgadgetoptionspage.h.
Definition at line 91 of file gcscontrolgadgetoptionspage.h.
Definition at line 92 of file gcscontrolgadgetoptionspage.h.
Definition at line 93 of file gcscontrolgadgetoptionspage.h.
Definition at line 94 of file gcscontrolgadgetoptionspage.h.
Definition at line 95 of file gcscontrolgadgetoptionspage.h.
Definition at line 96 of file gcscontrolgadgetoptionspage.h.
Definition at line 97 of file gcscontrolgadgetoptionspage.h.
|
protectedslot |
Definition at line 277 of file gcscontrolgadgetoptionspage.cpp.