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
9
11{
12 Q_OBJECT
13
14public:
15 explicit GenericAutoPilotPlugin(Vehicle *vehicle, QObject *parent = nullptr);
16
17 const QVariantList &vehicleComponents() final;
18 QString prerequisiteSetup(VehicleComponent *component) const final { Q_UNUSED(component); return QString(); }
19
20private:
21 QVariantList _components;
22 JoystickComponent *_joystickComponent = nullptr;
23};
AutoPilotPlugin(Vehicle *vehicle, QObject *parent=nullptr)
GenericAutoPilotPlugin(Vehicle *vehicle, QObject *parent=nullptr)
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....
A vehicle component is an object which abstracts the physical portion of a vehicle into a set of conf...