QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GenericAutoPilotPlugin.h
Go to the documentation of this file.
1#pragma once
2
3#include "AutoPilotPlugin.h"
4
6
10{
11 Q_OBJECT
12
13public:
14 explicit GenericAutoPilotPlugin(Vehicle *vehicle, QObject *parent = nullptr);
15
16 const QVariantList &vehicleComponents() final;
17 QString prerequisiteSetup(VehicleComponent *component) const final { Q_UNUSED(component); return QString(); }
18
19private:
20 QVariantList _components;
21 JoystickComponent *_joystickComponent = nullptr;
22};
const QVariantList & vehicleComponents() final
QString prerequisiteSetup(VehicleComponent *component) const final
Returns the name of the vehicle component which must complete setup prior to this one....