QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMServoComponent.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 APMServoComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent = nullptr);
11
12 // VehicleComponent overrides
13 QString name() const final { return _name; }
14 QString description() const final { return tr("Configure servo PWM limits, trim, direction, and function assignment."); }
15 QString iconResource() const final { return QStringLiteral("/qmlimages/MotorComponentIcon.svg"); }
16 bool requiresSetup() const final { return false; }
17 bool setupComplete() const final { return true; }
18 QUrl setupSource() const final;
19 QUrl summaryQmlSource() const final { return QUrl(); }
20 QStringList setupCompleteChangedTriggerList() const final { return QStringList(); }
21
22private:
23 const QString _name = tr("Servo Outputs");
24};
QString description() const final
bool requiresSetup() const final
QUrl setupSource() const final
bool setupComplete() const final
QString name() const final
QUrl summaryQmlSource() const final
APMServoComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
QStringList setupCompleteChangedTriggerList() const final
QString iconResource() const final
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
VehicleComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, AutoPilotPlugin::KnownVehicleComponent KnownVehicleComponent, QObject *parent=nullptr)