QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMAutoPilotPlugin Class Reference

This is the AutoPilotPlugin implementation for the MAV_AUTOPILOT_ARDUPILOT type. More...

#include <APMAutoPilotPlugin.h>

+ Inheritance diagram for APMAutoPilotPlugin:
+ Collaboration diagram for APMAutoPilotPlugin:

Public Member Functions

 APMAutoPilotPlugin (Vehicle *vehicle, QObject *parent=nullptr)
 
 ~APMAutoPilotPlugin ()
 
const QVariantList & vehicleComponents () 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 = false
 true: parameter version incorrect, setup not allowed
 
APMAirframeComponent_airframeComponent = nullptr
 
APMGimbalComponent_gimbalComponent = nullptr
 
APMLightsComponent_lightsComponent = nullptr
 
APMSubFrameComponent_subFrameComponent = nullptr
 
APMFlightModesComponent_flightModesComponent = nullptr
 
APMPowerComponent_powerComponent = nullptr
 
APMMotorComponent_motorComponent = nullptr
 
APMRadioComponent_radioComponent = nullptr
 
APMSafetyComponent_safetyComponent = nullptr
 
APMSensorsComponent_sensorsComponent = nullptr
 
APMTuningComponent_tuningComponent = nullptr
 
ESP8266Component_esp8266Component = nullptr
 
APMHeliComponent_heliComponent = nullptr
 
APMRemoteSupportComponent_apmRemoteSupportComponent = nullptr
 
APMFollowComponent_followComponent = nullptr
 
JoystickComponent_joystickComponent = nullptr
 
ScriptingComponent_scriptingComponent = nullptr
 
- 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 ()
 

Detailed Description

This is the AutoPilotPlugin implementation for the MAV_AUTOPILOT_ARDUPILOT type.

Definition at line 28 of file APMAutoPilotPlugin.h.

Constructor & Destructor Documentation

◆ APMAutoPilotPlugin()

APMAutoPilotPlugin::APMAutoPilotPlugin ( Vehicle vehicle,
QObject *  parent = nullptr 
)
explicit

Definition at line 36 of file APMAutoPilotPlugin.cc.

References ParameterManager::parametersReadyChanged().

◆ ~APMAutoPilotPlugin()

APMAutoPilotPlugin::~APMAutoPilotPlugin ( )

Definition at line 46 of file APMAutoPilotPlugin.cc.

Member Function Documentation

◆ prerequisiteSetup()

QString APMAutoPilotPlugin::prerequisiteSetup ( VehicleComponent component) const
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 151 of file APMAutoPilotPlugin.cc.

References _airframeComponent, _radioComponent, APMAirframeComponent::name(), APMRadioComponent::name(), APMAirframeComponent::setupComplete(), and APMRadioComponent::setupComplete().

◆ vehicleComponents()

Member Data Documentation

◆ _airframeComponent

APMAirframeComponent* APMAutoPilotPlugin::_airframeComponent = nullptr
protected

Definition at line 41 of file APMAutoPilotPlugin.h.

Referenced by prerequisiteSetup(), and vehicleComponents().

◆ _apmRemoteSupportComponent

APMRemoteSupportComponent* APMAutoPilotPlugin::_apmRemoteSupportComponent = nullptr
protected

Definition at line 54 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _esp8266Component

ESP8266Component* APMAutoPilotPlugin::_esp8266Component = nullptr
protected

Definition at line 52 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _flightModesComponent

APMFlightModesComponent* APMAutoPilotPlugin::_flightModesComponent = nullptr
protected

Definition at line 45 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _followComponent

APMFollowComponent* APMAutoPilotPlugin::_followComponent = nullptr
protected

Definition at line 55 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _gimbalComponent

APMGimbalComponent* APMAutoPilotPlugin::_gimbalComponent = nullptr
protected

Definition at line 42 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _heliComponent

APMHeliComponent* APMAutoPilotPlugin::_heliComponent = nullptr
protected

Definition at line 53 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _incorrectParameterVersion

bool APMAutoPilotPlugin::_incorrectParameterVersion = false
protected

true: parameter version incorrect, setup not allowed

Definition at line 40 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _joystickComponent

JoystickComponent* APMAutoPilotPlugin::_joystickComponent = nullptr
protected

Definition at line 56 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _lightsComponent

APMLightsComponent* APMAutoPilotPlugin::_lightsComponent = nullptr
protected

Definition at line 43 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _motorComponent

APMMotorComponent* APMAutoPilotPlugin::_motorComponent = nullptr
protected

Definition at line 47 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _powerComponent

APMPowerComponent* APMAutoPilotPlugin::_powerComponent = nullptr
protected

Definition at line 46 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _radioComponent

APMRadioComponent* APMAutoPilotPlugin::_radioComponent = nullptr
protected

Definition at line 48 of file APMAutoPilotPlugin.h.

Referenced by prerequisiteSetup(), and vehicleComponents().

◆ _safetyComponent

APMSafetyComponent* APMAutoPilotPlugin::_safetyComponent = nullptr
protected

Definition at line 49 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _scriptingComponent

ScriptingComponent* APMAutoPilotPlugin::_scriptingComponent = nullptr
protected

Definition at line 57 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _sensorsComponent

APMSensorsComponent* APMAutoPilotPlugin::_sensorsComponent = nullptr
protected

Definition at line 50 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _subFrameComponent

APMSubFrameComponent* APMAutoPilotPlugin::_subFrameComponent = nullptr
protected

Definition at line 44 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().

◆ _tuningComponent

APMTuningComponent* APMAutoPilotPlugin::_tuningComponent = nullptr
protected

Definition at line 51 of file APMAutoPilotPlugin.h.

Referenced by vehicleComponents().


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