QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMFollowComponent.h
Go to the documentation of this file.
1#pragma once
2
3#include "VehicleComponent.h"
4
6{
7 Q_OBJECT
8
9public:
10 explicit APMFollowComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent = nullptr);
11
12 QString name() const final { return _name; }
13 QString description() const final { return tr("Configure the vehicle to track the ground station position."); }
14 QString iconResource() const final { return QStringLiteral("/qmlimages/FlightModesComponentIcon.png"); }
15 bool requiresSetup() const final { return false; }
16 bool setupComplete() const final { return true; }
17 QUrl setupSource() const final { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMFollowComponent.qml")); }
18 QUrl summaryQmlSource() const final { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMFollowComponentSummary.qml")); }
19 bool allowSetupWhileArmed() const final { return true; }
20 bool allowSetupWhileFlying() const final { return true; }
21
22 QStringList setupCompleteChangedTriggerList() const final { return QStringList(); }
23
24private:
25 const QString _name = tr("Follow Me");
26};
bool allowSetupWhileArmed() const final
bool requiresSetup() const final
QString description() const final
QString name() const final
bool setupComplete() const final
bool allowSetupWhileFlying() const final
QString iconResource() const final
QUrl summaryQmlSource() const final
QStringList setupCompleteChangedTriggerList() const final
QUrl setupSource() const final
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
A vehicle component is an object which abstracts the physical portion of a vehicle into a set of conf...