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
3a4c70e9
Commit
3a4c70e9
authored
Feb 15, 2012
by
TobiasSimon
Browse files
fixed dropRateChanged: it was impossible to represent a drop rate > 1%
parent
24560f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/uas/UAS.cc
View file @
3a4c70e9
...
...
@@ -429,8 +429,7 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message)
}
// COMMUNICATIONS DROP RATE
// FIXME
emit
dropRateChanged
(
this
->
getUASID
(),
state
.
drop_rate_comm
/
10000.0
f
);
emit
dropRateChanged
(
this
->
getUASID
(),
100.0
*
state
.
drop_rate_comm
/
10000.0
f
);
}
break
;
case
MAVLINK_MSG_ID_ATTITUDE
:
...
...
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