Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
c14cd70f
Commit
c14cd70f
authored
Feb 07, 2020
by
Valentin Platzgummer
Browse files
123
parent
9dc38c69
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Wima/WimaController.cc
View file @
c14cd70f
...
...
@@ -519,7 +519,9 @@ bool WimaController::fetchContainerData()
// create SimpleMissionItems
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
();
...
...
@@ -552,6 +554,11 @@ bool WimaController::calcNextPhase()
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.
int
startIndex
=
_nextPhaseStartWaypointIndex
.
rawValue
().
toInt
()
-
1
;
if
(
!
reverse
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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