QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMAdvancedTuningCopterComponent.cc
Go to the documentation of this file.
2#include "Vehicle.h"
3
5 : VehicleComponent(vehicle, autopilot, AutoPilotPlugin::UnknownVehicleComponent, parent)
6{
7}
8
10{
11 switch (_vehicle->vehicleType()) {
12 case MAV_TYPE_QUADROTOR:
13 case MAV_TYPE_COAXIAL:
14 case MAV_TYPE_HELICOPTER:
15 case MAV_TYPE_HEXAROTOR:
16 case MAV_TYPE_OCTOROTOR:
17 case MAV_TYPE_TRICOPTER:
18 return QUrl::fromUserInput("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMAdvancedTuningCopterComponent.qml");
19 default:
20 return QUrl::fromUserInput(QString());
21 }
22}
APMAdvancedTuningCopterComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
MAV_TYPE vehicleType() const
Definition Vehicle.h:426