QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
MotorComponent.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 MotorComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent = nullptr);
11
12 QStringList setupCompleteChangedTriggerList() const override { return QStringList(); }
13 QString name() const override { return _name; }
14 QString description() const override { return tr("Motors Setup is used to manually test motor control and direction."); }
15 QString iconResource() const override { return QStringLiteral("/qmlimages/MotorComponentIcon.svg"); }
16 bool requiresSetup() const override { return false; }
17 bool setupComplete() const override { return true; }
18 QUrl setupSource() const override { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/Common/MotorComponent.qml")); }
19 QUrl summaryQmlSource() const override { return QUrl(); }
20
21private:
22 const QString _name;
23};
QStringList setupCompleteChangedTriggerList() const override
QUrl setupSource() const override
QString iconResource() const override
QString description() const override
QString name() const override
bool requiresSetup() const override
QUrl summaryQmlSource() const override
bool setupComplete() const override