APM:Libraries
|
#include <AP_GPS_MAV.h>
Public Member Functions | |
AP_GPS_MAV (AP_GPS &_gps, AP_GPS::GPS_State &_state, AP_HAL::UARTDriver *_port) | |
bool | read () |
void | handle_msg (const mavlink_message_t *msg) |
const char * | name () const override |
![]() | |
AP_GPS_Backend (AP_GPS &_gps, AP_GPS::GPS_State &_state, AP_HAL::UARTDriver *_port) | |
virtual | ~AP_GPS_Backend (void) |
virtual AP_GPS::GPS_Status | highest_supported_status (void) |
virtual bool | is_configured (void) |
virtual void | inject_data (const uint8_t *data, uint16_t len) |
virtual bool | supports_mavlink_gps_rtk_message () |
virtual void | send_mavlink_gps_rtk (mavlink_channel_t chan) |
virtual void | broadcast_configuration_failure_reason (void) const |
virtual void | handle_gnss_msg (const AP_GPS::GPS_State &msg) |
virtual bool | get_lag (float &lag) const |
virtual bool | is_healthy (void) const |
void | broadcast_gps_type () const |
virtual void | Write_DataFlash_Log_Startup_messages () const |
virtual bool | prepare_for_arming (void) |
Static Public Member Functions | |
static bool | _detect (struct MAV_detect_state &state, uint8_t data) |
Private Attributes | |
bool | _new_data |
Additional Inherited Members | |
![]() | |
int32_t | swap_int32 (int32_t v) const |
int16_t | swap_int16 (int16_t v) const |
void | fill_3d_velocity (void) |
void | make_gps_time (uint32_t bcd_date, uint32_t bcd_milliseconds) |
void | _detection_message (char *buffer, uint8_t buflen) const |
bool | should_df_log () const |
![]() | |
AP_HAL::UARTDriver * | port |
UART we are attached to. More... | |
AP_GPS & | gps |
access to frontend (for parameters) More... | |
AP_GPS::GPS_State & | state |
public state for this instance More... | |
Definition at line 28 of file AP_GPS_MAV.h.
AP_GPS_MAV::AP_GPS_MAV | ( | AP_GPS & | _gps, |
AP_GPS::GPS_State & | _state, | ||
AP_HAL::UARTDriver * | _port | ||
) |
Definition at line 22 of file AP_GPS_MAV.cpp.
|
static |
|
virtual |
Reimplemented from AP_GPS_Backend.
Definition at line 42 of file AP_GPS_MAV.cpp.
|
inlineoverridevirtual |
Implements AP_GPS_Backend.
Definition at line 38 of file AP_GPS_MAV.h.
|
virtual |
Implements AP_GPS_Backend.
Definition at line 30 of file AP_GPS_MAV.cpp.
|
private |
Definition at line 41 of file AP_GPS_MAV.h.
Referenced by handle_msg(), and read().