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
c14cd70f
Commit
c14cd70f
authored
Feb 07, 2020
by
Valentin Platzgummer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
9dc38c69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
WimaController.cc
src/Wima/WimaController.cc
+8
-1
No files found.
src/Wima/WimaController.cc
View file @
c14cd70f
...
@@ -519,7 +519,9 @@ bool WimaController::fetchContainerData()
...
@@ -519,7 +519,9 @@ bool WimaController::fetchContainerData()
// create SimpleMissionItems
// create SimpleMissionItems
for
(
auto
item
:
tempMissionItems
)
for
(
auto
item
:
tempMissionItems
)
_missionItems
.
append
(
new
SimpleMissionItem
(
_masterController
->
managerVehicle
(),
true
/* flyView*/
,
*
item
,
this
));
_missionItems
.
append
(
new
SimpleMissionItem
(
_masterController
->
managerVehicle
(),
true
/* flyView*/
,
*
item
,
this
));
setTakeoffLandPosition
();
setTakeoffLandPosition
();
...
@@ -552,6 +554,11 @@ bool WimaController::calcNextPhase()
...
@@ -552,6 +554,11 @@ bool WimaController::calcNextPhase()
return
false
;
return
false
;
}
}
qWarning
()
<<
"size QObject: "
<<
sizeof
(
QObject
);
qWarning
()
<<
"size MissionItem: "
<<
sizeof
(
MissionItem
);
// 912
qWarning
()
<<
"size VisualMissionItem: "
<<
sizeof
(
VisualMissionItem
);
//384
qWarning
()
<<
"size SimpleMissionItem: "
<<
sizeof
(
SimpleMissionItem
);
// 3272
bool
reverse
=
_reverse
.
rawValue
().
toBool
();
// Reverses the phase direction. Phases go from high to low waypoint numbers, if true.
bool
reverse
=
_reverse
.
rawValue
().
toBool
();
// Reverses the phase direction. Phases go from high to low waypoint numbers, if true.
int
startIndex
=
_nextPhaseStartWaypointIndex
.
rawValue
().
toInt
()
-
1
;
int
startIndex
=
_nextPhaseStartWaypointIndex
.
rawValue
().
toInt
()
-
1
;
if
(
!
reverse
)
{
if
(
!
reverse
)
{
...
...
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