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
56adb8b1
Commit
56adb8b1
authored
Jan 31, 2013
by
Lorenz Meier
Browse files
Merge pull request #224 from samized/master
Fix image stream receive counter reset bug
parents
5948605c
9687e658
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/uas/UAS.cc
View file @
56adb8b1
...
...
@@ -1100,6 +1100,8 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
imageWidth
=
p
.
width
;
imageHeight
=
p
.
height
;
imageStart
=
QGC
::
groundTimeMilliseconds
();
imagePacketsArrived
=
0
;
}
break
;
...
...
@@ -1132,7 +1134,6 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
if
((
imagePacketsArrived
>=
imagePackets
))
{
// Restart statemachine
imagePacketsArrived
=
0
;
emit
imageReady
(
this
);
//qDebug() << "imageReady emitted. all packets arrived";
}
...
...
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