Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
845e8068
Commit
845e8068
authored
Mar 01, 2018
by
Gus Grubba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete flights using flightID instead of flightPlanID (still doesn't work)
parent
f6c18f78
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
40 deletions
+47
-40
AirMapFlightPlanManager.cc
src/Airmap/AirMapFlightPlanManager.cc
+37
-33
AirMapFlightPlanManager.h
src/Airmap/AirMapFlightPlanManager.h
+3
-4
AirMapTelemetry.cc
src/Airmap/AirMapTelemetry.cc
+4
-0
AirmapSettings.qml
src/Airmap/AirmapSettings.qml
+1
-1
AirspaceFlightPlanProvider.h
src/AirspaceManagement/AirspaceFlightPlanProvider.h
+2
-2
No files found.
src/Airmap/AirMapFlightPlanManager.cc
View file @
845e8068
This diff is collapsed.
Click to expand it.
src/Airmap/AirMapFlightPlanManager.h
View file @
845e8068
...
...
@@ -91,9 +91,9 @@ public:
void
setFlightStartTime
(
QDateTime
start
)
override
;
void
setFlightEndTime
(
QDateTime
end
)
override
;
void
loadFlightList
(
QDateTime
startTime
,
QDateTime
endTime
)
override
;
void
deleteFlight
Plan
(
QString
flightPlan
ID
)
override
;
void
deleteFlight
(
QString
flight
ID
)
override
;
void
deleteSelectedFlight
Plan
s
()
override
;
void
deleteSelectedFlights
()
override
;
signals:
void
error
(
const
QString
&
what
,
const
QString
&
airmapdMessage
,
const
QString
&
airmapdDetails
);
...
...
@@ -101,7 +101,7 @@ signals:
private
slots
:
void
_pollBriefing
();
void
_missionChanged
();
void
_deleteFlight
Plan
();
void
_deleteFlight
();
void
_uploadFlightPlan
();
void
_updateFlightPlan
();
void
_loadFlightList
();
...
...
@@ -116,7 +116,6 @@ private:
GetPilotID
,
FlightUpload
,
FlightUpdate
,
FlightPlanPolling
,
FlightDelete
,
FlightSubmit
,
FlightPolling
,
...
...
src/Airmap/AirMapTelemetry.cc
View file @
845e8068
...
...
@@ -98,6 +98,10 @@ AirMapTelemetry::startTelemetryStream(const QString& flightID)
qCWarning
(
AirMapManagerLog
)
<<
"Not starting telemetry: not in idle state:"
<<
(
int
)
_state
;
return
;
}
if
(
flightID
.
isEmpty
())
{
qCWarning
(
AirMapManagerLog
)
<<
"Not starting telemetry: No flight ID."
;
return
;
}
qCInfo
(
AirMapManagerLog
)
<<
"Starting Telemetry stream with flightID"
<<
flightID
;
_state
=
State
::
StartCommunication
;
_flightID
=
flightID
;
...
...
src/Airmap/AirmapSettings.qml
View file @
845e8068
...
...
@@ -524,7 +524,7 @@ QGCView {
anchors.horizontalCenter
:
parent
.
horizontalCenter
onClicked
:
{
flightListRoot
.
updateSelection
();
QGroundControl
.
airspaceManager
.
flightPlan
.
deleteSelectedFlight
Plan
s
()
QGroundControl
.
airspaceManager
.
flightPlan
.
deleteSelectedFlights
()
}
}
QGCButton
{
...
...
src/AirspaceManagement/AirspaceFlightPlanProvider.h
View file @
845e8068
...
...
@@ -175,8 +175,8 @@ public:
Q_INVOKABLE
virtual
void
submitFlightPlan
()
=
0
;
Q_INVOKABLE
virtual
void
updateFlightPlan
()
=
0
;
Q_INVOKABLE
virtual
void
loadFlightList
(
QDateTime
startTime
,
QDateTime
endTime
)
=
0
;
Q_INVOKABLE
virtual
void
deleteFlight
Plan
(
QString
flighPlanID
)
=
0
;
Q_INVOKABLE
virtual
void
deleteSelectedFlight
Plans
()
=
0
;
Q_INVOKABLE
virtual
void
deleteFlight
(
QString
flighPlanID
)
=
0
;
Q_INVOKABLE
virtual
void
deleteSelectedFlight
s
()
=
0
;
virtual
PermitStatus
flightPermitStatus
()
const
{
return
PermitNone
;
}
virtual
QDateTime
flightStartTime
()
const
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment