diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index 347244ea1b2252fa1676514d3a9d54f8420346a5..afdd6834e899ae5654a0f9e1c34c763e5f1f11e0 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -175,6 +175,8 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message) getStatusForCode((int)state.status, uasState, stateDescription); emit statusChanged(this, uasState, stateDescription); emit statusChanged(this->status); + emit loadChanged(this,state.load/10.0f); + emit UAS::valueChanged(this, "Load", ((float)state.load)/1000.0f, MG::TIME::getGroundTimeNow()); stateAudio = " changed status to " + uasState; }