QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
VehicleSupports.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/QObject>
4#include <QtQmlIntegration/QtQmlIntegration>
5
7class Vehicle;
8
9class VehicleSupports : public QObject
10{
11 Q_OBJECT
12 QML_ELEMENT
13 QML_UNCREATABLE("")
14
15public:
16 explicit VehicleSupports(Vehicle *vehicle);
17
18 Q_PROPERTY(bool throttleModeCenterZero READ throttleModeCenterZero CONSTANT)
19 Q_PROPERTY(bool negativeThrust READ negativeThrust CONSTANT)
20 Q_PROPERTY(bool jsButton READ jsButton CONSTANT)
21 Q_PROPERTY(bool radio READ radio CONSTANT)
22 Q_PROPERTY(bool motorInterference READ motorInterference CONSTANT)
23 Q_PROPERTY(bool smartRTL READ smartRTL CONSTANT)
24 Q_PROPERTY(bool terrainFrame READ terrainFrame NOTIFY terrainFrameChanged)
25 Q_PROPERTY(bool guidedMode READ guidedMode CONSTANT)
26 Q_PROPERTY(bool pauseVehicle READ pauseVehicle CONSTANT)
27 Q_PROPERTY(bool orbitMode READ orbitMode CONSTANT)
28 Q_PROPERTY(bool roiMode READ roiMode CONSTANT)
32 Q_PROPERTY(bool changeHeading READ changeHeading CONSTANT)
33
34 bool throttleModeCenterZero() const;
35 bool negativeThrust() const;
36 bool jsButton() const;
37 bool radio() const;
38 bool motorInterference() const;
39 bool smartRTL() const;
40 bool terrainFrame() const;
41 bool guidedMode() const;
42 bool pauseVehicle() const;
43 bool orbitMode() const;
44 bool roiMode() const;
45 bool takeoffMissionCommand() const;
46 bool guidedTakeoffWithAltitude() const;
48 bool changeHeading() const;
49
50signals:
52
53private:
54 Vehicle *_vehicle = nullptr;
55};
void terrainFrameChanged()
bool guidedMode() const
bool negativeThrust() const
bool throttleModeCenterZero READ throttleModeCenterZero CONSTANT(bool negativeThrust READ negativeThrust CONSTANT) 1(bool jsButton READ jsButton CONSTANT) 1(bool radio READ radio CONSTANT) 1(bool motorInterference READ motorInterference CONSTANT) 1(bool smartRTL READ smartRTL CONSTANT) 1(bool terrainFrame READ terrainFrame NOTIFY terrainFrameChanged) 1(bool guidedMode READ guidedMode CONSTANT) 1(bool pauseVehicle READ pauseVehicle CONSTANT) 1(bool orbitMode READ orbitMode CONSTANT) 1(bool roiMode READ roiMode CONSTANT) 1(bool takeoffMissionCommand READ takeoffMissionCommand CONSTANT) 1(bool guidedTakeoffWithAltitude READ guidedTakeoffWithAltitude CONSTANT) 1(bool guidedTakeoffWithoutAltitude READ guidedTakeoffWithoutAltitude CONSTANT) 1(bool changeHeading READ changeHeading CONSTANT) bool throttleModeCenterZero() const
bool radio() const
bool changeHeading() const
bool orbitMode() const
bool roiMode() const
bool guidedTakeoffWithoutAltitude() const
bool motorInterference() const
bool smartRTL() const
bool guidedTakeoffWithAltitude() const
bool jsButton() const
bool pauseVehicle() const
bool terrainFrame() const
bool takeoffMissionCommand() const