|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <PX4AutoPilotPlugin.h>
Inheritance diagram for PX4AutoPilotPlugin:
Collaboration diagram for PX4AutoPilotPlugin:Public Member Functions | |
| PX4AutoPilotPlugin (Vehicle *vehicle, QObject *parent) | |
| ~PX4AutoPilotPlugin () | |
| const QVariantList & | vehicleComponents (void) override |
| void | parametersReadyPreChecks (void) override |
| QString | prerequisiteSetup (VehicleComponent *component) const override |
| Returns the name of the vehicle component which must complete setup prior to this one. Empty string for none. | |
Protected Attributes | |
| bool | _incorrectParameterVersion |
| true: parameter version incorrect, setup not allowed | |
| PX4AirframeLoader * | _airframeFacts |
| AirframeComponent * | _airframeComponent |
| PX4RadioComponent * | _radioComponent |
| ESP8266Component * | _esp8266Component |
| FlightModesComponent * | _flightModesComponent |
| SensorsComponent * | _sensorsComponent |
| SafetyComponent * | _safetyComponent |
| PowerComponent * | _powerComponent |
| MotorComponent * | _motorComponent |
| ActuatorComponent * | _actuatorComponent |
| PX4TuningComponent * | _tuningComponent |
| PX4FlightBehavior * | _flightBehavior |
| SyslinkComponent * | _syslinkComponent |
| JoystickComponent * | _joystickComponent |
Protected Attributes inherited from AutoPilotPlugin | |
| Vehicle * | _vehicle = nullptr |
| FirmwarePlugin * | _firmwarePlugin = nullptr |
| bool | _setupComplete = false |
Additional Inherited Members | |
Signals inherited from AutoPilotPlugin | |
| void | setupCompleteChanged () |
| void | vehicleComponentsChanged () |
Definition at line 21 of file PX4AutoPilotPlugin.h.
| PX4AutoPilotPlugin::PX4AutoPilotPlugin | ( | Vehicle * | vehicle, |
| QObject * | parent | ||
| ) |
Definition at line 15 of file PX4AutoPilotPlugin.cc.
References _airframeFacts, and PX4AirframeLoader::loadAirframeMetaData().
| PX4AutoPilotPlugin::~PX4AutoPilotPlugin | ( | ) |
Definition at line 43 of file PX4AutoPilotPlugin.cc.
References _airframeFacts.
|
overridevirtual |
Called when parameters are ready for the first time. Note that parameters may still be missing. Overrides must call base class.
Reimplemented from AutoPilotPlugin.
Definition at line 150 of file PX4AutoPilotPlugin.cc.
References AutoPilotPlugin::_vehicle, ParameterManager::defaultComponentId, ParameterManager::getParameter(), ParameterManager::parameterExists(), Vehicle::parameterManager(), and qgcApp.
|
overridevirtual |
Returns the name of the vehicle component which must complete setup prior to this one. Empty string for none.
Implements AutoPilotPlugin.
Definition at line 162 of file PX4AutoPilotPlugin.cc.
References _airframeComponent, _radioComponent, AutoPilotPlugin::_vehicle, ParameterManager::getParameter(), AirframeComponent::name(), PX4RadioComponent::name(), Vehicle::parameterManager(), AirframeComponent::setupComplete(), and PX4RadioComponent::setupComplete().
|
overridevirtual |
Implements AutoPilotPlugin.
Definition at line 48 of file PX4AutoPilotPlugin.cc.
References _actuatorComponent, _airframeComponent, _esp8266Component, _flightBehavior, _flightModesComponent, _incorrectParameterVersion, _joystickComponent, _motorComponent, _powerComponent, _radioComponent, _safetyComponent, _sensorsComponent, _syslinkComponent, _tuningComponent, AutoPilotPlugin::_vehicle, Vehicle::actuators(), Vehicle::compId(), Vehicle::hilMode(), Actuators::init(), Actuators::initializationError(), Actuators::isInitialized(), ParameterManager::parameterExists(), Vehicle::parameterManager(), ParameterManager::parametersReady(), and Actuators::showUi().
|
protected |
Definition at line 45 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 37 of file PX4AutoPilotPlugin.h.
Referenced by prerequisiteSetup(), and vehicleComponents().
|
protected |
Definition at line 36 of file PX4AutoPilotPlugin.h.
Referenced by PX4AutoPilotPlugin(), and ~PX4AutoPilotPlugin().
|
protected |
Definition at line 39 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 47 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 40 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
true: parameter version incorrect, setup not allowed
Definition at line 35 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 49 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 44 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 43 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 38 of file PX4AutoPilotPlugin.h.
Referenced by prerequisiteSetup(), and vehicleComponents().
|
protected |
Definition at line 42 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 41 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 48 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 46 of file PX4AutoPilotPlugin.h.
Referenced by vehicleComponents().