25#include <mavlink_lib/mavlink_types.h>
44 return "timestamp,n_send_queue,max_send_queue,n_send_errors,n_dropped_"
45 "packets,mav_stats.buffer_overrun,mav_stats.msg_received,mav_"
46 "stats.parse_error,mav_stats.parse_state,mav_stats.packet_idx,"
47 "mav_stats.current_rx_seq,mav_stats.current_tx_seq,mav_stats."
48 "packet_rx_success_count,mav_stats.packet_rx_drop_count\n";
51 void print(std::ostream& os)
const
56 <<
"," << (int)
mavStats.parse_error <<
","
58 <<
"," << (
int)
mavStats.current_rx_seq <<
","
59 << (int)
mavStats.current_tx_seq <<
","
60 <<
mavStats.packet_rx_success_count <<
","
61 <<
mavStats.packet_rx_drop_count <<
"\n";
This file includes all the types the logdecoder script will decode.
void print(std::ostream &os) const
uint16_t nSendErrors
Number of failed sends.
uint16_t maxSendQueue
Max occupied len of the queue.
uint16_t nSendQueue
Current len of the occupied portion of the queue.
mavlink_status_t mavStats
static std::string header()
uint16_t nDroppedPackets
Number of packet drops.