This is the AutoPilotPlugin implementation for the MAV_AUTOPILOT_ARDUPILOT type. More...
#include <APMAutoPilotPlugin.h>
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. | |
| Public Member Functions inherited from AutoPilotPlugin | |
| AutoPilotPlugin (Vehicle *vehicle, QObject *parent=nullptr) | |
| virtual | ~AutoPilotPlugin () |
| virtual void | parametersReadyPreChecks () |
| Q_INVOKABLE bool | knownVehicleComponentAvailable (KnownVehicleComponent knownVehicleComponent) |
| Returns true if the vehicle component is available for the vehicle. Customs build have different components. | |
| Q_INVOKABLE VehicleComponent * | findKnownVehicleComponent (KnownVehicleComponent knownVehicleComponent) |
| Returns the VehicleComponent for the knownVehicleComponent. Returns nullptr if not available. | |
| bool | setupComplete () const |
Additional Inherited Members | |
| Public Types inherited from AutoPilotPlugin | |
| enum | KnownVehicleComponent { KnownRadioVehicleComponent , KnownFlightModesVehicleComponent , KnownSensorsVehicleComponent , KnownSafetyVehicleComponent , KnownPowerVehicleComponent , KnownJoystickVehicleComponent , KnownESCVehicleComponent , UnknownVehicleComponent } |
| Signals inherited from AutoPilotPlugin | |
| void | setupCompleteChanged () |
| void | vehicleComponentsChanged () |
This is the AutoPilotPlugin implementation for the MAV_AUTOPILOT_ARDUPILOT type.
Definition at line 32 of file APMAutoPilotPlugin.h.
|
explicit |
Definition at line 46 of file APMAutoPilotPlugin.cc.
References APMAutoPilotPlugin(), AutoPilotPlugin::AutoPilotPlugin(), and ParameterManager::parametersReadyChanged().
Referenced by APMAutoPilotPlugin().
| APMAutoPilotPlugin::~APMAutoPilotPlugin | ( | ) |
Definition at line 56 of file APMAutoPilotPlugin.cc.
|
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 201 of file APMAutoPilotPlugin.cc.
References _airframeComponent, and _radioComponent.
|
overridevirtual |
Implements AutoPilotPlugin.
Definition at line 61 of file APMAutoPilotPlugin.cc.
References _advancedTuningCopterComponent, _airframeComponent, _airspeedComponent, _apmRemoteSupportComponent, _escComponent, _esp8266Component, _failsafesComponent, _flightModesComponent, _flightSafetyComponent, _followComponent, _gimbalComponent, _heliComponent, _incorrectParameterVersion, _joystickComponent, _lightsComponent, _loggingComponent, _motorComponent, _powerComponent, _radioComponent, _scriptingComponent, _sensorsComponent, _servoComponent, _subFrameComponent, _tuningComponent, and AutoPilotPlugin::_vehicle.
Referenced by APMSensorsComponentController::APMSensorsComponentController().
|
protected |
Definition at line 60 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 45 of file APMAutoPilotPlugin.h.
Referenced by prerequisiteSetup(), and vehicleComponents().
|
protected |
Definition at line 46 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 64 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 53 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 61 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 56 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 50 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 57 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 65 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 47 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 62 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
true: parameter version incorrect, setup not allowed
Definition at line 44 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 66 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 48 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 63 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 54 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 52 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 55 of file APMAutoPilotPlugin.h.
Referenced by prerequisiteSetup(), and vehicleComponents().
|
protected |
Definition at line 67 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 58 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 51 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 49 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().
|
protected |
Definition at line 59 of file APMAutoPilotPlugin.h.
Referenced by vehicleComponents().