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
83d2035f
Commit
83d2035f
authored
Jun 19, 2018
by
DonLakeFlyer
Browse files
Fix last sequence number signalling
parent
994ebe5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/StructureScanComplexItem.cc
View file @
83d2035f
...
...
@@ -63,9 +63,11 @@ StructureScanComplexItem::StructureScanComplexItem(Vehicle* vehicle, bool flyVie
connect
(
&
_altitudeFact
,
&
Fact
::
valueChanged
,
this
,
&
StructureScanComplexItem
::
_updateCoordinateAltitudes
);
connect
(
&
_structurePolygon
,
&
QGCMapPolygon
::
dirtyChanged
,
this
,
&
StructureScanComplexItem
::
_polygonDirtyChanged
);
connect
(
&
_structurePolygon
,
&
QGCMapPolygon
::
countChanged
,
this
,
&
StructureScanComplexItem
::
_polygonCountChanged
);
connect
(
&
_structurePolygon
,
&
QGCMapPolygon
::
pathChanged
,
this
,
&
StructureScanComplexItem
::
_rebuildFlightPolygon
);
connect
(
&
_structurePolygon
,
&
QGCMapPolygon
::
countChanged
,
this
,
&
StructureScanComplexItem
::
_updateLastSequenceNumber
);
connect
(
&
_layersFact
,
&
Fact
::
valueChanged
,
this
,
&
StructureScanComplexItem
::
_updateLastSequenceNumber
);
connect
(
&
_flightPolygon
,
&
QGCMapPolygon
::
pathChanged
,
this
,
&
StructureScanComplexItem
::
_flightPathChanged
);
connect
(
_cameraCalc
.
distanceToSurface
(),
&
Fact
::
valueChanged
,
this
,
&
StructureScanComplexItem
::
_rebuildFlightPolygon
);
...
...
@@ -108,9 +110,8 @@ void StructureScanComplexItem::_clearInternal(void)
emit
lastSequenceNumberChanged
(
lastSequenceNumber
());
}
void
StructureScanComplexItem
::
_
polygonCountChanged
(
int
count
)
void
StructureScanComplexItem
::
_
updateLastSequenceNumber
(
void
)
{
Q_UNUSED
(
count
);
emit
lastSequenceNumberChanged
(
lastSequenceNumber
());
}
...
...
src/MissionManager/StructureScanComplexItem.h
View file @
83d2035f
...
...
@@ -107,13 +107,13 @@ signals:
private
slots
:
void
_setDirty
(
void
);
void
_polygonDirtyChanged
(
bool
dirty
);
void
_polygonCountChanged
(
int
count
);
void
_flightPathChanged
(
void
);
void
_clearInternal
(
void
);
void
_updateCoordinateAltitudes
(
void
);
void
_rebuildFlightPolygon
(
void
);
void
_recalcCameraShots
(
void
);
void
_recalcLayerInfo
(
void
);
void
_updateLastSequenceNumber
(
void
);
private:
void
_setExitCoordinate
(
const
QGeoCoordinate
&
coordinate
);
...
...
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