QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMSubFrameComponent.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 APMSubFrameComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent = nullptr);
11
12 QStringList setupCompleteChangedTriggerList() const final { return QStringList(); }
13
14 QString name() const final { return _name; }
15 QString description() const final { return tr("Frame setup allows you to choose your vehicle's motor configuration. Install <b>clockwise</b>" \
16 "<br>propellers on the <b>green thrusters</b> and <b>counter-clockwise</b> propellers on the <b>blue thrusters</b>" \
17 "<br>(or vice-versa). The flight controller will need to be rebooted to apply changes." \
18 "<br>When selecting a frame, you can choose to load the default parameter set for that frame configuration if available."); }
19 QString iconResource() const final { return QStringLiteral("/qmlimages/SubFrameComponentIcon.png"); }
20 bool requiresSetup() const final { return false; }
21 bool setupComplete() const final { return true; }
22 QUrl setupSource() const final { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMSubFrameComponent.qml")); }
23 QUrl summaryQmlSource() const final { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMSubFrameComponentSummary.qml")); }
24
25private:
26 const QString _name = tr("Frame");
27};
QString iconResource() const final
bool requiresSetup() const final
QString description() const final
QStringList setupCompleteChangedTriggerList() const final
QString name() const final
QUrl summaryQmlSource() const final
QUrl setupSource() const final
bool setupComplete() const final