Commit c14cd70f authored by Valentin Platzgummer's avatar Valentin Platzgummer

123

parent 9dc38c69
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment