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
02dae6ea
Commit
02dae6ea
authored
Aug 29, 2016
by
Kelly Steich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added fact meta data for turnAroundDist
parent
07fbabc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
SurveyMissionItem.cc
src/MissionManager/SurveyMissionItem.cc
+4
-0
SurveyMissionItem.h
src/MissionManager/SurveyMissionItem.h
+1
-0
No files found.
src/MissionManager/SurveyMissionItem.cc
View file @
02dae6ea
...
...
@@ -50,6 +50,7 @@ SurveyMissionItem::SurveyMissionItem(Vehicle* vehicle, QObject* parent)
,
_gridAltitudeMetaData
(
FactMetaData
::
valueTypeDouble
)
,
_gridAngleMetaData
(
FactMetaData
::
valueTypeDouble
)
,
_gridSpacingMetaData
(
FactMetaData
::
valueTypeDouble
)
,
_turnaroundDistMetaData
(
FactMetaData
::
valueTypeDouble
)
,
_cameraTriggerDistanceMetaData
(
FactMetaData
::
valueTypeDouble
)
{
_gridAltitudeFact
.
setRawValue
(
25
);
...
...
@@ -60,16 +61,19 @@ SurveyMissionItem::SurveyMissionItem(Vehicle* vehicle, QObject* parent)
_gridAltitudeMetaData
.
setRawUnits
(
"m"
);
_gridAngleMetaData
.
setRawUnits
(
"deg"
);
_gridSpacingMetaData
.
setRawUnits
(
"m"
);
_turnaroundDistMetaData
.
setRawUnits
(
"m"
);
_cameraTriggerDistanceMetaData
.
setRawUnits
(
"m"
);
_gridAltitudeMetaData
.
setDecimalPlaces
(
1
);
_gridAngleMetaData
.
setDecimalPlaces
(
1
);
_gridSpacingMetaData
.
setDecimalPlaces
(
2
);
_turnaroundDistMetaData
.
setDecimalPlaces
(
2
);
_cameraTriggerDistanceMetaData
.
setDecimalPlaces
(
2
);
_gridAltitudeFact
.
setMetaData
(
&
_gridAltitudeMetaData
);
_gridAngleFact
.
setMetaData
(
&
_gridAngleMetaData
);
_gridSpacingFact
.
setMetaData
(
&
_gridSpacingMetaData
);
_turnaroundDistFact
.
setMetaData
(
&
_turnaroundDistMetaData
);
_cameraTriggerDistanceFact
.
setMetaData
(
&
_cameraTriggerDistanceMetaData
);
connect
(
&
_gridSpacingFact
,
&
Fact
::
valueChanged
,
this
,
&
SurveyMissionItem
::
_generateGrid
);
...
...
src/MissionManager/SurveyMissionItem.h
View file @
02dae6ea
...
...
@@ -136,6 +136,7 @@ private:
FactMetaData
_gridAltitudeMetaData
;
FactMetaData
_gridAngleMetaData
;
FactMetaData
_gridSpacingMetaData
;
FactMetaData
_turnaroundDistMetaData
;
FactMetaData
_cameraTriggerDistanceMetaData
;
static
const
char
*
_jsonVersionKey
;
...
...
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