13 return QStringLiteral(
":/qml/QGroundControl/AutoPilotPlugins/APM/VehicleConfig/APMSafety.VehicleConfig.json");
19 case MAV_TYPE_SUBMARINE:
20 return tr(
"Configure Return to Launch, geofence, and arming checks.");
21 case MAV_TYPE_GROUND_ROVER:
22 return tr(
"Configure Return to Launch, geofence, and arming checks.");
23 case MAV_TYPE_FIXED_WING:
24 return tr(
"Configure Return to Launch, geofence, and arming checks.");
26 return tr(
"Configure Return to Launch, geofence, and arming checks.");
33 case MAV_TYPE_FIXED_WING:
34 case MAV_TYPE_QUADROTOR:
35 case MAV_TYPE_COAXIAL:
36 case MAV_TYPE_HELICOPTER:
37 case MAV_TYPE_HEXAROTOR:
38 case MAV_TYPE_OCTOROTOR:
39 case MAV_TYPE_TRICOPTER:
40 case MAV_TYPE_GROUND_ROVER:
41 return QUrl::fromUserInput(QStringLiteral(
"qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMSafetyComponent.qml"));
42 case MAV_TYPE_SUBMARINE:
43 return QUrl::fromUserInput(QStringLiteral(
"qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMSafetyComponentSub.qml"));
45 return QUrl::fromUserInput(QStringLiteral(
"qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMNotSupported.qml"));
52 case MAV_TYPE_FIXED_WING:
53 case MAV_TYPE_QUADROTOR:
54 case MAV_TYPE_COAXIAL:
55 case MAV_TYPE_HELICOPTER:
56 case MAV_TYPE_HEXAROTOR:
57 case MAV_TYPE_OCTOROTOR:
58 case MAV_TYPE_TRICOPTER:
59 case MAV_TYPE_GROUND_ROVER:
60 return QUrl::fromUserInput(QStringLiteral(
"qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMSafetyComponentSummary.qml"));
61 case MAV_TYPE_SUBMARINE:
62 return QUrl::fromUserInput(QStringLiteral(
"qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMSafetyComponentSummarySub.qml"));
64 return QUrl::fromUserInput(QStringLiteral(
"qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMNotSupported.qml"));
APMSafetyComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
QString vehicleConfigJson() const final
Resource path to a VehicleConfig.json page definition, or empty if none.
QUrl summaryQmlSource() const final
QString description() 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...
MAV_TYPE vehicleType() const