9 #define MAVLINK_SEPARATE_HELPERS 10 #define MAVLINK_NO_CONVERSION_HELPERS 12 #define MAVLINK_SEND_UART_BYTES(chan, buf, len) comm_send_buffer(chan, buf, len) 14 #if CONFIG_HAL_BOARD == HAL_BOARD_SITL 17 #define MAVLINK_COMM_NUM_BUFFERS 6 20 #define MAVLINK_COMM_NUM_BUFFERS 5 27 #pragma GCC diagnostic push 28 #pragma GCC diagnostic ignored "-Wcast-align" 30 #include "include/mavlink/v2.0/ardupilotmega/version.h" 32 #define MAVLINK_MAX_PAYLOAD_LEN 255 34 #include "include/mavlink/v2.0/mavlink_types.h" 48 #pragma clang diagnostic push 49 #pragma clang diagnostic ignored "-Wtautological-constant-out-of-range-compare" 51 #pragma clang diagnostic pop 69 #define MAVLINK_USE_CONVENIENCE_FUNCTIONS 70 #include "include/mavlink/v2.0/ardupilotmega/mavlink.h" 75 #pragma GCC diagnostic pop
AP_HAL::UARTDriver * mavlink_comm_port[MAVLINK_COMM_NUM_BUFFERS]
MAVLink stream used for uartA.
void comm_send_buffer(mavlink_channel_t chan, const uint8_t *buf, uint8_t len)
A system for managing and storing variables that are of general interest to the system.
static bool valid_channel(mavlink_channel_t chan)
bool gcs_alternative_active[MAVLINK_COMM_NUM_BUFFERS]
mavlink_system_t mavlink_system
MAVLink system definition.
uint16_t comm_get_available(mavlink_channel_t chan)
AP_HAL::AnalogSource * chan
uint8_t mav_var_type(enum ap_var_type t)
uint16_t comm_get_txspace(mavlink_channel_t chan)
#define MAVLINK_COMM_NUM_BUFFERS