|
APM:Libraries
|
#include "GCS.h"#include "GCS_MAVLink.h"#include <AP_Common/AP_Common.h>#include <AP_GPS/AP_GPS.h>#include <AP_HAL/AP_HAL.h>#include "include/mavlink/v2.0/mavlink_helpers.h"Go to the source code of this file.
Functions | |
| uint8_t | mav_var_type (enum ap_var_type t) |
| uint16_t | comm_get_txspace (mavlink_channel_t chan) |
| uint16_t | comm_get_available (mavlink_channel_t chan) |
| void | comm_send_buffer (mavlink_channel_t chan, const uint8_t *buf, uint8_t len) |
Variables | |
| AP_HAL::UARTDriver * | mavlink_comm_port [MAVLINK_COMM_NUM_BUFFERS] |
| MAVLink stream used for uartA. More... | |
| bool | gcs_alternative_active [MAVLINK_COMM_NUM_BUFFERS] |
| mavlink_system_t | mavlink_system = {7,1} |
| MAVLink system definition. More... | |
| static uint8_t | mavlink_locked_mask |
| uint16_t comm_get_available | ( | mavlink_channel_t | chan | ) |
Check for available data on the nominated MAVLink channel
| chan | Channel to check |
Definition at line 108 of file GCS_MAVLink.cpp.
Referenced by valid_channel().
| uint16_t comm_get_txspace | ( | mavlink_channel_t | chan | ) |
Check for available transmit space on the nominated MAVLink channel
| chan | Channel to check |
Definition at line 89 of file GCS_MAVLink.cpp.
Referenced by valid_channel().
| void comm_send_buffer | ( | mavlink_channel_t | chan, |
| const uint8_t * | buf, | ||
| uint8_t | len | ||
| ) |
Definition at line 126 of file GCS_MAVLink.cpp.
Referenced by valid_channel().
| uint8_t mav_var_type | ( | enum ap_var_type | t | ) |
Definition at line 69 of file GCS_MAVLink.cpp.
Referenced by GCS_MAVLINK::queued_param_send(), GCS_MAVLINK::send_parameter_reply(), and GCS::send_parameter_value().
| bool gcs_alternative_active[MAVLINK_COMM_NUM_BUFFERS] |
Definition at line 40 of file GCS_MAVLink.cpp.
Referenced by comm_send_buffer(), and GCS_MAVLINK::update().
| AP_HAL::UARTDriver* mavlink_comm_port[MAVLINK_COMM_NUM_BUFFERS] |
MAVLink stream used for uartA.
Definition at line 39 of file GCS_MAVLink.cpp.
Referenced by GCS_MAVLINK::init(), and GCS_MAVLINK::update().
|
static |
Definition at line 45 of file GCS_MAVLink.cpp.
Referenced by comm_get_available(), comm_get_txspace(), and GCS_MAVLINK::lock_channel().
| mavlink_system_t mavlink_system = {7,1} |
MAVLink system definition.
Definition at line 42 of file GCS_MAVLink.cpp.
Referenced by MAVLink_routing::check_and_forward(), AP_Follow::handle_msg(), AP_Avoidance::handle_msg(), MAVLink_routing::learn_route(), loop(), DataFlash_MAVLink::send_log_block(), MAVLink_routing::send_to_components(), and GCS_MAVLINK::timesync_timestamp_ns().
1.8.13