4#include <QtCore/QObject>
5#include <QtCore/QString>
6#include <QtPositioning/QGeoCoordinate>
8#include "MAVLinkEnums.h"
17 MAV_FRAME
frame = MAV_FRAME_GLOBAL_RELATIVE_ALT;
35 QString
editorQml(
void)
const {
return QStringLiteral(
"qrc:/FirmwarePlugin/RallyPointEditor.qml"); }
50 void error (
int errorCode,
const QString& errorMsg);
55 void _sendComplete (
bool error);
56 void _planManagerLoadComplete (
bool removeAllRequested);
PlanManager(Vehicle *vehicle, MAV_MISSION_TYPE planType)
bool inProgress(void) const
void inProgressChanged(bool inProgress)
void sendToVehicle(const QList< RallyPointData > &rgPoints)
QList< RallyPointData > _rgPoints
bool supported(void) const
ErrorCode_t
Error codes returned in error signal.
@ TooFewPoints
Too few points for valid geofence.
@ TooManyPoints
Too many points for valid geofence.
void sendComplete(bool error)
QList< RallyPointData > _rgSendPoints
QList< RallyPointData > points(void) const
RallyPointManager(Vehicle *vehicle)
void _sendError(ErrorCode_t errorCode, const QString &errorMsg)
void removeAllComplete(bool error)
void error(int errorCode, const QString &errorMsg)
QString editorQml(void) const
A rally point as exchanged with the vehicle.
QGeoCoordinate coordinate
MAV_FRAME frame
Frame of coordinate.altitude().