diff --git a/src/uas/UAS.cc b/src/uas/UAS.cc index 21f7516c7cca4e2598be39a3bd5dbc003e60da9d..3a90f6060675dc0f996031bbc2b76710c7f4363b 100644 --- a/src/uas/UAS.cc +++ b/src/uas/UAS.cc @@ -940,16 +940,6 @@ void UAS::receiveMessage(LinkInterface* link, mavlink_message_t message) case MAVLINK_MSG_ID_OPTICAL_FLOW: break; case MAVLINK_MSG_ID_DEBUG_VECT: - { - mavlink_debug_vect_t debug; - mavlink_msg_debug_vect_decode(&message, &debug); - debug.name[MAVLINK_MSG_DEBUG_VECT_FIELD_NAME_LEN-1] = '\0'; - QString name(debug.name); - quint64 time = getUnixTime(debug.time_usec); - emit valueChanged(uasId, name+".x", "raw", debug.x, time); - emit valueChanged(uasId, name+".y", "raw", debug.y, time); - emit valueChanged(uasId, name+".z", "raw", debug.z, time); - } break; case MAVLINK_MSG_ID_DEBUG: break;