Commit 3a4c70e9 authored by TobiasSimon's avatar TobiasSimon

fixed dropRateChanged: it was impossible to represent a drop rate > 1%

parent 24560f76
......@@ -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.0f);
emit dropRateChanged(this->getUASID(), 100.0 * state.drop_rate_comm/10000.0f);
}
break;
case MAVLINK_MSG_ID_ATTITUDE:
......
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