APM:Libraries
|
#include <AP_GPS_UAVCAN.h>
Public Member Functions | |
AP_GPS_UAVCAN (AP_GPS &_gps, AP_GPS::GPS_State &_state, AP_HAL::UARTDriver *_port) | |
~AP_GPS_UAVCAN () override | |
bool | read () override |
void | set_uavcan_manager (uint8_t mgr) |
void | handle_gnss_msg (const AP_GPS::GPS_State &msg) override |
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_msg (const mavlink_message_t *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) |
Private Attributes | |
bool | _new_data |
uint8_t | _manager |
AP_GPS::GPS_State | _interm_state |
AP_HAL::Semaphore * | _sem_gnss |
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 27 of file AP_GPS_UAVCAN.h.
AP_GPS_UAVCAN::AP_GPS_UAVCAN | ( | AP_GPS & | _gps, |
AP_GPS::GPS_State & | _state, | ||
AP_HAL::UARTDriver * | _port | ||
) |
|
override |
|
overridevirtual |
Reimplemented from AP_GPS_Backend.
|
inlineoverridevirtual |
Implements AP_GPS_Backend.
Definition at line 38 of file AP_GPS_UAVCAN.h.
|
overridevirtual |
Implements AP_GPS_Backend.
void AP_GPS_UAVCAN::set_uavcan_manager | ( | uint8_t | mgr | ) |
|
private |
Definition at line 44 of file AP_GPS_UAVCAN.h.
|
private |
Definition at line 42 of file AP_GPS_UAVCAN.h.
|
private |
Definition at line 41 of file AP_GPS_UAVCAN.h.
|
private |
Definition at line 45 of file AP_GPS_UAVCAN.h.