APM:Libraries
|
Protected Member Functions | |
uint32_t | telem_delay () const override |
Compass * | get_compass () const override |
AP_Mission * | get_mission () override |
AP_Rally * | get_rally () const override |
AP_Camera * | get_camera () const override |
uint8_t | sysid_my_gcs () const override |
bool | set_mode (uint8_t mode) override |
const AP_FWVersion & | get_fwver () const override |
MAV_TYPE | frame_type () const override |
MAV_MODE | base_mode () const override |
uint32_t | custom_mode () const override |
MAV_STATE | system_status () const override |
Protected Member Functions inherited from GCS_MAVLINK | |
virtual bool | in_hil_mode () const |
virtual bool | accept_packet (const mavlink_status_t &status, mavlink_message_t &msg) |
virtual AP_AdvancedFailsafe * | get_advanced_failsafe () const |
virtual AP_VisualOdom * | get_visual_odom () const |
void | set_ekf_origin (const Location &loc) |
uint8_t | packet_overhead (void) const |
virtual bool | persist_streamrates () const |
void | handle_request_data_stream (mavlink_message_t *msg) |
virtual void | handle_command_ack (const mavlink_message_t *msg) |
void | handle_set_mode (mavlink_message_t *msg) |
void | handle_mission_request_list (AP_Mission &mission, mavlink_message_t *msg) |
void | handle_mission_request (AP_Mission &mission, mavlink_message_t *msg) |
void | handle_mission_clear_all (AP_Mission &mission, mavlink_message_t *msg) |
virtual void | handle_mission_set_current (AP_Mission &mission, mavlink_message_t *msg) |
void | handle_mission_count (AP_Mission &mission, mavlink_message_t *msg) |
void | handle_mission_write_partial_list (AP_Mission &mission, mavlink_message_t *msg) |
bool | handle_mission_item (mavlink_message_t *msg, AP_Mission &mission) |
void | handle_common_param_message (mavlink_message_t *msg) |
void | handle_param_set (mavlink_message_t *msg) |
void | handle_param_request_list (mavlink_message_t *msg) |
void | handle_param_request_read (mavlink_message_t *msg) |
virtual bool | params_ready () const |
void | handle_common_gps_message (mavlink_message_t *msg) |
void | handle_common_rally_message (mavlink_message_t *msg) |
void | handle_rally_fetch_point (mavlink_message_t *msg) |
void | handle_rally_point (mavlink_message_t *msg) |
void | handle_common_camera_message (const mavlink_message_t *msg) |
void | handle_gimbal_report (AP_Mount &mount, mavlink_message_t *msg) const |
void | handle_radio_status (mavlink_message_t *msg, DataFlash_Class &dataflash, bool log_radio) |
void | handle_serial_control (const mavlink_message_t *msg) |
void | handle_vision_position_delta (mavlink_message_t *msg) |
void | handle_common_message (mavlink_message_t *msg) |
void | handle_set_gps_global_origin (const mavlink_message_t *msg) |
void | handle_setup_signing (const mavlink_message_t *msg) |
MAV_RESULT | handle_preflight_reboot (const mavlink_command_long_t &packet, bool disable_overrides) |
MAV_RESULT | handle_rc_bind (const mavlink_command_long_t &packet) |
virtual MAV_RESULT | handle_flight_termination (const mavlink_command_long_t &packet) |
void | handle_send_autopilot_version (const mavlink_message_t *msg) |
MAV_RESULT | handle_command_request_autopilot_capabilities (const mavlink_command_long_t &packet) |
virtual void | send_banner () |
void | handle_device_op_read (mavlink_message_t *msg) |
void | handle_device_op_write (mavlink_message_t *msg) |
void | send_timesync () |
uint64_t | timesync_receive_timestamp_ns () const |
uint64_t | timesync_timestamp_ns () const |
void | handle_timesync (mavlink_message_t *msg) |
void | handle_statustext (mavlink_message_t *msg) |
bool | telemetry_delayed () const |
MAV_RESULT | handle_command_preflight_set_sensor_offsets (const mavlink_command_long_t &packet) |
virtual MAV_RESULT | handle_command_preflight_calibration (const mavlink_command_long_t &packet) |
virtual MAV_RESULT | _handle_command_preflight_calibration (const mavlink_command_long_t &packet) |
virtual MAV_RESULT | _handle_command_preflight_calibration_baro () |
MAV_RESULT | handle_command_mag_cal (const mavlink_command_long_t &packet) |
MAV_RESULT | handle_command_long_message (mavlink_command_long_t &packet) |
MAV_RESULT | handle_command_camera (const mavlink_command_long_t &packet) |
MAV_RESULT | handle_command_do_send_banner (const mavlink_command_long_t &packet) |
MAV_RESULT | handle_command_do_set_mode (const mavlink_command_long_t &packet) |
MAV_RESULT | handle_command_get_home_position (const mavlink_command_long_t &packet) |
bool | try_send_compass_message (enum ap_message id) |
bool | try_send_mission_message (enum ap_message id) |
bool | try_send_camera_message (enum ap_message id) |
bool | try_send_gps_message (enum ap_message id) |
void | send_hwstatus () |
void | handle_data_packet (mavlink_message_t *msg) |
virtual int32_t | global_position_int_alt () const |
virtual int32_t | global_position_int_relative_alt () const |
virtual bool | vfr_hud_make_alt_relative () const |
virtual float | vfr_hud_climbrate () const |
virtual float | vfr_hud_airspeed () const |
virtual int16_t | vfr_hud_throttle () const |
Private Member Functions | |
void | handleMessage (mavlink_message_t *msg) |
bool | handle_guided_request (AP_Mission::Mission_Command &cmd) override |
void | handle_change_alt_request (AP_Mission::Mission_Command &cmd) override |
bool | try_send_message (enum ap_message id) override |
Additional Inherited Members | |
Public Types inherited from GCS_MAVLINK | |
enum | streams : uint8_t { STREAM_RAW_SENSORS, STREAM_EXTENDED_STATUS, STREAM_RC_CHANNELS, STREAM_RAW_CONTROLLER, STREAM_POSITION, STREAM_EXTRA1, STREAM_EXTRA2, STREAM_EXTRA3, STREAM_PARAMS, STREAM_ADSB, NUM_STREAMS } |
Public Member Functions inherited from GCS_MAVLINK | |
GCS_MAVLINK () | |
void | update (uint32_t max_time_us=1000) |
void | init (AP_HAL::UARTDriver *port, mavlink_channel_t mav_chan) |
void | setup_uart (const AP_SerialManager &serial_manager, AP_SerialManager::SerialProtocol protocol, uint8_t instance) |
void | send_message (enum ap_message id) |
void | send_text (MAV_SEVERITY severity, const char *fmt,...) |
void | data_stream_send () |
void | queued_param_send () |
Send the next pending parameter, called from deferred message handling code. More... | |
void | queued_waypoint_send () |
Send the next pending waypoint, called from deferred message handling code. More... | |
virtual void | packetReceived (const mavlink_status_t &status, mavlink_message_t &msg) |
AP_HAL::UARTDriver * | get_uart () |
bool | stream_trigger (enum streams stream_num) |
bool | is_high_bandwidth () |
bool | have_flow_control () |
mavlink_channel_t | get_chan () const |
uint32_t | get_last_heartbeat_time () const |
void | send_heartbeat (void) const |
void | send_meminfo (void) |
void | send_power_status (void) |
void | send_battery_status (const AP_BattMonitor &battery, const uint8_t instance) const |
bool | send_battery_status () const |
bool | send_distance_sensor () const |
void | send_rangefinder_downward () const |
bool | send_proximity () const |
void | send_ahrs2 () |
void | send_system_time () |
void | send_radio_in () |
void | send_raw_imu () |
virtual void | send_scaled_pressure3 () |
void | send_scaled_pressure () |
void | send_sensor_offsets () |
virtual void | send_simstate () const |
void | send_ahrs () |
void | send_battery2 () |
virtual void | send_attitude () const |
void | send_autopilot_version () const |
void | send_local_position () const |
void | send_vfr_hud () |
void | send_vibration () const |
void | send_named_float (const char *name, float value) const |
void | send_home () const |
void | send_ekf_origin () const |
virtual void | send_position_target_global_int () |
void | send_servo_output_raw () |
void | send_accelcal_vehicle_position (uint32_t position) |
void | send_queued_parameters (void) |
void | retry_deferred () |
FUNCTOR_TYPEDEF (protocol_handler_fn_t, bool, uint8_t, AP_HAL::UARTDriver *) | |
Static Public Member Functions inherited from GCS_MAVLINK | |
static void | send_collision_all (const AP_Avoidance::Obstacle &threat, MAV_COLLISION_ACTION behaviour) |
static uint8_t | active_channel_mask (void) |
static uint8_t | streaming_channel_mask (void) |
static void | send_to_components (const mavlink_message_t *msg) |
static void | disable_channel_routing (mavlink_channel_t chan) |
static bool | find_by_mavtype (uint8_t mav_type, uint8_t &sysid, uint8_t &compid, mavlink_channel_t &channel) |
static void | update_signing_timestamp (uint64_t timestamp_usec) |
static uint8_t | packet_overhead_chan (mavlink_channel_t chan) |
Public Attributes inherited from GCS_MAVLINK | |
bool | initialised |
uint32_t | last_heartbeat_time |
uint16_t | mission_item_reached_index = AP_MISSION_CMD_INDEX_NONE |
Static Public Attributes inherited from GCS_MAVLINK | |
static const struct AP_Param::GroupInfo | var_info [] |
static uint32_t | last_radio_status_remrssi_ms |
static const struct stream_entries | all_stream_entries [] |
Protected Attributes inherited from GCS_MAVLINK | |
bool | waypoint_receiving |
uint16_t | waypoint_request_i |
uint16_t | waypoint_request_last |
AP_Param * | _queued_parameter |
next parameter to More... | |
mavlink_channel_t | chan |
AP_Int16 | streamRates [NUM_STREAMS] |
struct { | |
int64_t sent_ts1 | |
uint32_t last_sent_ms | |
const uint16_t interval_ms = 10000 | |
} | _timesync_request |
Vector3f | vfr_hud_velned |
Definition at line 24 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 42 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 43 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 41 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 35 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 32 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 38 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 33 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 34 of file routing.cpp.
|
inlineoverrideprivatevirtual |
Implements GCS_MAVLINK.
Definition at line 50 of file routing.cpp.
|
inlineoverrideprivatevirtual |
Implements GCS_MAVLINK.
Definition at line 49 of file routing.cpp.
|
inlineprivatevirtual |
Implements GCS_MAVLINK.
Definition at line 48 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 37 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 36 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 44 of file routing.cpp.
|
inlineoverrideprotectedvirtual |
Implements GCS_MAVLINK.
Definition at line 31 of file routing.cpp.
|
inlineoverrideprivatevirtual |
Reimplemented from GCS_MAVLINK.
Definition at line 51 of file routing.cpp.