QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMAutoPilotPlugin.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/QLoggingCategory>
4#include "AutoPilotPlugin.h"
5
23class Vehicle;
24
25Q_DECLARE_LOGGING_CATEGORY(APMAutoPilotPluginLog)
26
27
29{
30 Q_OBJECT
31
32public:
33 explicit APMAutoPilotPlugin(Vehicle *vehicle, QObject *parent = nullptr);
35
36 const QVariantList &vehicleComponents() override;
37 QString prerequisiteSetup(VehicleComponent *component) const override;
38
39protected:
40 bool _incorrectParameterVersion = false;
41 APMAirframeComponent *_airframeComponent = nullptr;
42 APMGimbalComponent *_gimbalComponent = nullptr;
43 APMLightsComponent *_lightsComponent = nullptr;
44 APMSubFrameComponent *_subFrameComponent = nullptr;
45 APMFlightModesComponent *_flightModesComponent = nullptr;
46 APMPowerComponent *_powerComponent = nullptr;
47 APMMotorComponent *_motorComponent = nullptr;
48 APMRadioComponent *_radioComponent = nullptr;
49 APMSafetyComponent *_safetyComponent = nullptr;
50 APMSensorsComponent *_sensorsComponent = nullptr;
51 APMTuningComponent *_tuningComponent = nullptr;
52 ESP8266Component *_esp8266Component = nullptr;
53 APMHeliComponent *_heliComponent = nullptr;
54 APMRemoteSupportComponent *_apmRemoteSupportComponent = nullptr;
55 APMFollowComponent *_followComponent = nullptr;
56 JoystickComponent *_joystickComponent = nullptr;
57 ScriptingComponent *_scriptingComponent = nullptr;
58
59#ifndef QGC_NO_SERIAL_LINK
60private slots:
62 void _checkForBadCubeBlack(bool parametersReady);
63#endif
64
65private:
66 QVariantList _components;
67};
Q_DECLARE_LOGGING_CATEGORY(AndroidSerialLog)
This is the AutoPilotPlugin implementation for the MAV_AUTOPILOT_ARDUPILOT type.