APM:Libraries
Classes | Macros
AP_GPS_UBLOX.h File Reference
#include <AP_HAL/AP_HAL.h>
#include "AP_GPS.h"
#include "GPS_Backend.h"
Include dependency graph for AP_GPS_UBLOX.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AP_GPS_UBLOX
 
struct  AP_GPS_UBLOX::ubx_header
 
struct  AP_GPS_UBLOX::ubx_cfg_gnss
 
struct  AP_GPS_UBLOX::ubx_cfg_gnss::configBlock
 
struct  AP_GPS_UBLOX::ubx_cfg_nav_rate
 
struct  AP_GPS_UBLOX::ubx_cfg_msg
 
struct  AP_GPS_UBLOX::ubx_cfg_msg_rate
 
struct  AP_GPS_UBLOX::ubx_cfg_msg_rate_6
 
struct  AP_GPS_UBLOX::ubx_cfg_nav_settings
 
struct  AP_GPS_UBLOX::ubx_cfg_prt
 
struct  AP_GPS_UBLOX::ubx_cfg_sbas
 
struct  AP_GPS_UBLOX::ubx_nav_posllh
 
struct  AP_GPS_UBLOX::ubx_nav_status
 
struct  AP_GPS_UBLOX::ubx_nav_dop
 
struct  AP_GPS_UBLOX::ubx_nav_solution
 
struct  AP_GPS_UBLOX::ubx_nav_pvt
 
struct  AP_GPS_UBLOX::ubx_nav_velned
 
struct  AP_GPS_UBLOX::ubx_mon_hw_60
 
struct  AP_GPS_UBLOX::ubx_mon_hw_68
 
struct  AP_GPS_UBLOX::ubx_mon_hw2
 
struct  AP_GPS_UBLOX::ubx_mon_ver
 
struct  AP_GPS_UBLOX::ubx_nav_svinfo_header
 
struct  AP_GPS_UBLOX::ubx_rxm_raw
 
struct  AP_GPS_UBLOX::ubx_rxm_raw::ubx_rxm_raw_sv
 
struct  AP_GPS_UBLOX::ubx_rxm_rawx
 
struct  AP_GPS_UBLOX::ubx_rxm_rawx::ubx_rxm_rawx_sv
 
struct  AP_GPS_UBLOX::ubx_ack_ack
 
struct  AP_GPS_UBLOX::ubx_cfg_cfg
 
union  AP_GPS_UBLOX::PACKED
 

Macros

#define UBLOX_SET_BINARY   "\265\142\006\001\003\000\001\006\001\022\117$PUBX,41,1,0023,0001,115200,0*1C\r\n"
 
#define UBLOX_RXM_RAW_LOGGING   1
 
#define UBLOX_MAX_RXM_RAW_SATS   22
 
#define UBLOX_MAX_RXM_RAWX_SATS   32
 
#define UBLOX_GNSS_SETTINGS   1
 
#define UBLOX_MAX_GNSS_CONFIG_BLOCKS   7
 
#define UBX_MSG_TYPES   2
 
#define UBLOX_MAX_PORTS   6
 
#define RATE_POSLLH   1
 
#define RATE_STATUS   1
 
#define RATE_SOL   1
 
#define RATE_PVT   1
 
#define RATE_VELNED   1
 
#define RATE_DOP   1
 
#define RATE_HW   5
 
#define RATE_HW2   5
 
#define CONFIG_RATE_NAV   (1<<0)
 
#define CONFIG_RATE_POSLLH   (1<<1)
 
#define CONFIG_RATE_STATUS   (1<<2)
 
#define CONFIG_RATE_SOL   (1<<3)
 
#define CONFIG_RATE_VELNED   (1<<4)
 
#define CONFIG_RATE_DOP   (1<<5)
 
#define CONFIG_RATE_MON_HW   (1<<6)
 
#define CONFIG_RATE_MON_HW2   (1<<7)
 
#define CONFIG_RATE_RAW   (1<<8)
 
#define CONFIG_VERSION   (1<<9)
 
#define CONFIG_NAV_SETTINGS   (1<<10)
 
#define CONFIG_GNSS   (1<<11)
 
#define CONFIG_SBAS   (1<<12)
 
#define CONFIG_RATE_PVT   (1<<13)
 
#define CONFIG_REQUIRED_INITIAL   (CONFIG_RATE_NAV | CONFIG_RATE_POSLLH | CONFIG_RATE_STATUS | CONFIG_RATE_VELNED)
 
#define CONFIG_ALL
 
#define SAVE_CFG_IO   (1<<0)
 
#define SAVE_CFG_MSG   (1<<1)
 
#define SAVE_CFG_INF   (1<<2)
 
#define SAVE_CFG_NAV   (1<<3)
 
#define SAVE_CFG_RXM   (1<<4)
 
#define SAVE_CFG_RINV   (1<<9)
 
#define SAVE_CFG_ANT   (1<<10)
 
#define SAVE_CFG_ALL   (SAVE_CFG_IO|SAVE_CFG_MSG|SAVE_CFG_INF|SAVE_CFG_NAV|SAVE_CFG_RXM|SAVE_CFG_RINV|SAVE_CFG_ANT)
 

Macro Definition Documentation

◆ CONFIG_ALL

#define CONFIG_ALL
Value:
#define CONFIG_RATE_RAW
Definition: AP_GPS_UBLOX.h:69
#define CONFIG_RATE_STATUS
Definition: AP_GPS_UBLOX.h:63
#define CONFIG_RATE_VELNED
Definition: AP_GPS_UBLOX.h:65
#define CONFIG_RATE_DOP
Definition: AP_GPS_UBLOX.h:66
#define CONFIG_NAV_SETTINGS
Definition: AP_GPS_UBLOX.h:71
#define CONFIG_RATE_SOL
Definition: AP_GPS_UBLOX.h:64
#define CONFIG_RATE_POSLLH
Definition: AP_GPS_UBLOX.h:62
#define CONFIG_GNSS
Definition: AP_GPS_UBLOX.h:72
#define CONFIG_RATE_MON_HW2
Definition: AP_GPS_UBLOX.h:68
#define CONFIG_VERSION
Definition: AP_GPS_UBLOX.h:70
#define CONFIG_RATE_NAV
Definition: AP_GPS_UBLOX.h:61
#define CONFIG_RATE_MON_HW
Definition: AP_GPS_UBLOX.h:67
#define CONFIG_SBAS
Definition: AP_GPS_UBLOX.h:73

Definition at line 78 of file AP_GPS_UBLOX.h.

◆ CONFIG_GNSS

#define CONFIG_GNSS   (1<<11)

Definition at line 72 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps().

◆ CONFIG_NAV_SETTINGS

#define CONFIG_NAV_SETTINGS   (1<<10)

Definition at line 71 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps().

◆ CONFIG_RATE_DOP

#define CONFIG_RATE_DOP   (1<<5)

Definition at line 66 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ CONFIG_RATE_MON_HW

#define CONFIG_RATE_MON_HW   (1<<6)

Definition at line 67 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps(), and AP_GPS_UBLOX::_verify_rate().

◆ CONFIG_RATE_MON_HW2

#define CONFIG_RATE_MON_HW2   (1<<7)

Definition at line 68 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps(), and AP_GPS_UBLOX::_verify_rate().

◆ CONFIG_RATE_NAV

#define CONFIG_RATE_NAV   (1<<0)

Definition at line 61 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps().

◆ CONFIG_RATE_POSLLH

#define CONFIG_RATE_POSLLH   (1<<1)

Definition at line 62 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps(), and AP_GPS_UBLOX::_verify_rate().

◆ CONFIG_RATE_PVT

#define CONFIG_RATE_PVT   (1<<13)

Definition at line 74 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ CONFIG_RATE_RAW

#define CONFIG_RATE_RAW   (1<<8)

◆ CONFIG_RATE_SOL

#define CONFIG_RATE_SOL   (1<<3)

Definition at line 64 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ CONFIG_RATE_STATUS

#define CONFIG_RATE_STATUS   (1<<2)

Definition at line 63 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps(), and AP_GPS_UBLOX::_verify_rate().

◆ CONFIG_RATE_VELNED

#define CONFIG_RATE_VELNED   (1<<4)

Definition at line 65 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps(), and AP_GPS_UBLOX::_verify_rate().

◆ CONFIG_REQUIRED_INITIAL

#define CONFIG_REQUIRED_INITIAL   (CONFIG_RATE_NAV | CONFIG_RATE_POSLLH | CONFIG_RATE_STATUS | CONFIG_RATE_VELNED)

Definition at line 76 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::read().

◆ CONFIG_SBAS

#define CONFIG_SBAS   (1<<12)

Definition at line 73 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps(), and AP_GPS_UBLOX::_request_next_config().

◆ CONFIG_VERSION

#define CONFIG_VERSION   (1<<9)

Definition at line 70 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps(), and AP_GPS_UBLOX::_request_next_config().

◆ RATE_DOP

#define RATE_DOP   1

Definition at line 57 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ RATE_HW

#define RATE_HW   5

Definition at line 58 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ RATE_HW2

#define RATE_HW2   5

Definition at line 59 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ RATE_POSLLH

#define RATE_POSLLH   1

Definition at line 52 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ RATE_PVT

#define RATE_PVT   1

Definition at line 55 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ RATE_SOL

#define RATE_SOL   1

Definition at line 54 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ RATE_STATUS

#define RATE_STATUS   1

Definition at line 53 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ RATE_VELNED

#define RATE_VELNED   1

Definition at line 56 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_verify_rate().

◆ SAVE_CFG_ALL

Definition at line 90 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_save_cfg().

◆ SAVE_CFG_ANT

#define SAVE_CFG_ANT   (1<<10)

Definition at line 89 of file AP_GPS_UBLOX.h.

◆ SAVE_CFG_INF

#define SAVE_CFG_INF   (1<<2)

Definition at line 85 of file AP_GPS_UBLOX.h.

◆ SAVE_CFG_IO

#define SAVE_CFG_IO   (1<<0)

Definition at line 83 of file AP_GPS_UBLOX.h.

◆ SAVE_CFG_MSG

#define SAVE_CFG_MSG   (1<<1)

Definition at line 84 of file AP_GPS_UBLOX.h.

◆ SAVE_CFG_NAV

#define SAVE_CFG_NAV   (1<<3)

Definition at line 86 of file AP_GPS_UBLOX.h.

◆ SAVE_CFG_RINV

#define SAVE_CFG_RINV   (1<<9)

Definition at line 88 of file AP_GPS_UBLOX.h.

◆ SAVE_CFG_RXM

#define SAVE_CFG_RXM   (1<<4)

Definition at line 87 of file AP_GPS_UBLOX.h.

◆ UBLOX_GNSS_SETTINGS

#define UBLOX_GNSS_SETTINGS   1

Definition at line 45 of file AP_GPS_UBLOX.h.

◆ UBLOX_MAX_GNSS_CONFIG_BLOCKS

#define UBLOX_MAX_GNSS_CONFIG_BLOCKS   7

Definition at line 47 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps().

◆ UBLOX_MAX_PORTS

#define UBLOX_MAX_PORTS   6

Definition at line 50 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_parse_gps(), and AP_GPS_UBLOX::_request_message_rate().

◆ UBLOX_MAX_RXM_RAW_SATS

#define UBLOX_MAX_RXM_RAW_SATS   22

Definition at line 43 of file AP_GPS_UBLOX.h.

◆ UBLOX_MAX_RXM_RAWX_SATS

#define UBLOX_MAX_RXM_RAWX_SATS   32

Definition at line 44 of file AP_GPS_UBLOX.h.

◆ UBLOX_RXM_RAW_LOGGING

#define UBLOX_RXM_RAW_LOGGING   1

Definition at line 42 of file AP_GPS_UBLOX.h.

◆ UBLOX_SET_BINARY

#define UBLOX_SET_BINARY   "\265\142\006\001\003\000\001\006\001\022\117$PUBX,41,1,0023,0001,115200,0*1C\r\n"

Definition at line 40 of file AP_GPS_UBLOX.h.

◆ UBX_MSG_TYPES

#define UBX_MSG_TYPES   2

Definition at line 48 of file AP_GPS_UBLOX.h.

Referenced by AP_GPS_UBLOX::_ubx_msg_log_index().