7 , _name(tr(
"PID Tuning"))
18 return tr(
"Tuning Setup is used to tune the flight controllers.");
23 return "/qmlimages/TuningComponentIcon.png";
46 case MAV_TYPE_FIXED_WING:
47 qmlFile =
"qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/PX4TuningComponentPlane.qml";
49 case MAV_TYPE_QUADROTOR:
50 case MAV_TYPE_COAXIAL:
51 case MAV_TYPE_HELICOPTER:
52 case MAV_TYPE_HEXAROTOR:
53 case MAV_TYPE_OCTOROTOR:
54 case MAV_TYPE_TRICOPTER:
55 qmlFile =
"qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml";
57 case MAV_TYPE_VTOL_TAILSITTER_DUOROTOR:
58 case MAV_TYPE_VTOL_TAILSITTER_QUADROTOR:
59 case MAV_TYPE_VTOL_TILTROTOR:
60 case MAV_TYPE_VTOL_FIXEDROTOR:
61 case MAV_TYPE_VTOL_TAILSITTER:
62 case MAV_TYPE_VTOL_TILTWING:
63 case MAV_TYPE_VTOL_RESERVED5:
64 qmlFile =
"qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/PX4TuningComponentVTOL.qml";
66 case MAV_TYPE_SPACECRAFT_ORBITER:
68 qmlFile =
"qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/PX4TuningComponentSpacecraft.qml";
74 return QUrl::fromUserInput(qmlFile);
QString description(void) const final
bool requiresSetup(void) const final
PX4TuningComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
QString name(void) const final
QStringList setupCompleteChangedTriggerList(void) const final
bool setupComplete(void) const final
QString iconResource(void) const final
QUrl setupSource(void) const final
QUrl summaryQmlSource(void) const final
MAV_TYPE vehicleType() const