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
1314e108
Commit
1314e108
authored
Aug 19, 2016
by
Don Gagne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Survey area and # shots moves to survey item editor
parent
70d225be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
MissionItemStatus.qml
src/MissionEditor/MissionItemStatus.qml
+0
-22
No files found.
src/MissionEditor/MissionItemStatus.qml
View file @
1314e108
...
...
@@ -50,8 +50,6 @@ Rectangle {
property
real
_gradient
:
_statusValid
&&
_currentMissionItem
.
distance
>
0
?
Math
.
atan
(
_currentMissionItem
.
altDifference
/
_currentMissionItem
.
distance
)
:
0
property
real
_gradientPercent
:
isNaN
(
_gradient
)
?
0
:
_gradient
*
100
property
real
_azimuth
:
_statusValid
?
_currentMissionItem
.
azimuth
:
-
1
property
int
_numberShots
:
_currentSurvey
?
_currentMissionItem
.
cameraShots
:
0
property
real
_coveredArea
:
_currentSurvey
?
_currentMissionItem
.
coveredArea
:
0
property
real
_missionDistance
:
_missionValid
?
missionDistance
:
0
property
real
_missionMaxTelemetry
:
_missionValid
?
missionMaxTelemetry
:
0
property
real
_missionTime
:
_missionValid
&&
_missionSpeed
>
0
?
(
_isVTOL
?
_hoverTime
+
_cruiseTime
:
_missionDistance
/
_missionSpeed
)
:
0
...
...
@@ -71,8 +69,6 @@ Rectangle {
property
string
_altText
:
_statusValid
?
QGroundControl
.
metersToAppSettingsDistanceUnits
(
_altDifference
).
toFixed
(
2
)
+
"
"
+
QGroundControl
.
appSettingsDistanceUnitsString
:
"
"
property
string
_gradientText
:
_statusValid
?
_gradientPercent
.
toFixed
(
0
)
+
"
%
"
:
"
"
property
string
_azimuthText
:
_statusValid
?
Math
.
round
(
_azimuth
)
:
"
"
property
string
_numberShotsText
:
_currentSurvey
?
_numberShots
.
toFixed
(
0
)
:
"
"
property
string
_coveredAreaText
:
_currentSurvey
?
QGroundControl
.
squareMetersToAppSettingsAreaUnits
(
_coveredArea
).
toFixed
(
2
)
+
"
"
+
QGroundControl
.
appSettingsAreaUnitsString
:
"
"
property
string
_missionDistanceText
:
_missionValid
?
QGroundControl
.
metersToAppSettingsDistanceUnits
(
_missionDistance
).
toFixed
(
2
)
+
"
"
+
QGroundControl
.
appSettingsDistanceUnitsString
:
"
"
property
string
_missionTimeText
:
_missionValid
?
_missionTime
.
toFixed
(
0
)
+
"
s
"
:
"
"
property
string
_missionMaxTelemetryText
:
_missionValid
?
QGroundControl
.
metersToAppSettingsDistanceUnits
(
_missionMaxTelemetry
).
toFixed
(
2
)
+
"
"
+
QGroundControl
.
appSettingsDistanceUnitsString
:
"
"
...
...
@@ -113,24 +109,6 @@ Rectangle {
QGCLabel
{
text
:
qsTr
(
"
Azimuth:
"
)
}
QGCLabel
{
text
:
_azimuthText
}
QGCLabel
{
text
:
qsTr
(
"
# shots:
"
)
visible
:
_currentSurvey
}
QGCLabel
{
text
:
_numberShotsText
visible
:
_currentSurvey
}
QGCLabel
{
text
:
qsTr
(
"
Covered area:
"
)
visible
:
_currentSurvey
}
QGCLabel
{
text
:
_coveredAreaText
visible
:
_currentSurvey
}
}
ListView
{
...
...
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