mavlink: receiver estimate total lost messages

This commit is contained in:
Daniel Agar
2021-01-31 11:41:56 +01:00
committed by Lorenz Meier
parent fbd64fbdd8
commit 0c58d12216
7 changed files with 241 additions and 27 deletions
+1 -5
View File
@@ -493,9 +493,6 @@ public:
if (_mavlink_ulog) { _mavlink_ulog_stop_requested = true; }
}
void set_uorb_main_fd(int fd, unsigned int interval);
bool ftp_enabled() const { return _ftp_on; }
bool hash_check_enabled() const { return _param_mav_hash_chk_en.get(); }
@@ -611,7 +608,7 @@ private:
unsigned _bytes_tx{0};
unsigned _bytes_txerr{0};
unsigned _bytes_rx{0};
uint64_t _bytes_timestamp{0};
hrt_abstime _bytes_timestamp{0};
#if defined(MAVLINK_UDP)
sockaddr_in _myaddr {};
@@ -677,7 +674,6 @@ private:
perf_counter_t _loop_perf{perf_alloc(PC_ELAPSED, MODULE_NAME": tx run elapsed")}; /**< loop performance counter */
perf_counter_t _loop_interval_perf{perf_alloc(PC_INTERVAL, MODULE_NAME": tx run interval")}; /**< loop interval performance counter */
perf_counter_t _send_byte_error_perf{perf_alloc(PC_COUNT, MODULE_NAME": send_bytes error")}; /**< send bytes error count */
perf_counter_t _send_start_tx_buf_low{perf_alloc(PC_COUNT, MODULE_NAME": send_start tx buffer full")}; /**< available tx buffer smaller than message */
void mavlink_update_parameters();