mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-09-25 12:09:56 +08:00
* feat(gps): log GNSS info from UBX_MSG_MON_SPAN and UBX_MON_RF for improved GNSS debugging capabilities. Introduction of two new uorb messages to log the content of UBX_MSG_MON_SPAN and UBX_MON_RF on a per-band level per receiver. Gated behind Kconfig GPS_UBX_SPAN and new parameter GPS_UBX_SPECTRUM. * feat(gps): deactivate Kconfig option GPS_UBX_SPAN by default Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com> * feat(gps): update submodule * chore(gps): remove unnecessary comment and whitespace * feat(boards/px4_fmu-v6c): activate CONFIG_GPS_UBX_SPAN --------- Co-authored-by: Jacob Dahl <37091262+dakejahl@users.noreply.github.com>
48 lines
2.4 KiB
Plaintext
48 lines
2.4 KiB
Plaintext
# GNSS RF status
|
|
#
|
|
# Reports RF block status for a GNSS receiver, decoded from the u-blox UBX-MON-RF message.
|
|
# Includes antenna status/power, jamming/interference indicators, automatic gain control (AGC),
|
|
# noise level, and I/Q demodulation metrics. Published by the `gps` driver (UBX protocol only), once
|
|
# per RF block, via the block-specific topics below.
|
|
|
|
uint64 timestamp # [us] Time since system start
|
|
uint64 timestamp_sample # [us] Timestamp of the raw data
|
|
|
|
uint32 device_id # Unique device ID for the sensor that does not change between power cycles
|
|
|
|
uint8 block_id # [-] Only used for multi-topic publishing
|
|
|
|
uint8 antenna_status # [@enum ANTENNA_STATUS] Status of the antenna supervisor state machine
|
|
uint8 ANTENNA_STATUS_INIT = 0 # Initializing
|
|
uint8 ANTENNA_STATUS_UNKNOWN = 1 # Status unknown
|
|
uint8 ANTENNA_STATUS_OK = 2 # Antenna OK
|
|
uint8 ANTENNA_STATUS_SHORT = 3 # Short circuit detected
|
|
uint8 ANTENNA_STATUS_OPEN = 4 # Open circuit detected
|
|
|
|
uint8 antenna_power # [@enum ANTENNA_POWER] Antenna power state
|
|
uint8 ANTENNA_POWER_OFF = 0 # Power off
|
|
uint8 ANTENNA_POWER_ON = 1 # Power on
|
|
uint8 ANTENNA_POWER_UNKNOWN = 2 # Power state unknown
|
|
|
|
uint32 post_status # [-] Power-on self-test (POST) status word (vendor-specific bitmask)
|
|
|
|
uint16 noise_per_ms # [-] Noise level as measured by the GNSS receiver core
|
|
uint16 automatic_gain_control # [-] [@range 0, 8191] Automatic Gain Control (AGC) monitor value (8191 = 100% of max gain)
|
|
uint8 jamming_indicator # [-] [@range 0, 255] Continuous wave (CW) jamming indicator (0 = no CW jamming, 255 = strong CW jamming)
|
|
|
|
uint8 jamming_state # [@enum JAMMING_STATE] Jamming state
|
|
uint8 JAMMING_STATE_UNKNOWN = 0 # Unknown
|
|
uint8 JAMMING_STATE_OK = 1 # No jamming detected
|
|
uint8 JAMMING_STATE_WARNING = 2 # Interference visible but fix OK
|
|
uint8 JAMMING_STATE_CRITICAL = 3 # Interference visible and no fix
|
|
|
|
int8 i_offset # [-] [@range -128, 127] Imbalance of the I-part of the complex signal (0 = no imbalance)
|
|
uint8 i_magnitude # [-] [@range 0, 255] Magnitude of the I-part of the complex signal (0 = no signal, 255 = max magnitude)
|
|
int8 q_offset # [-] [@range -128, 127] Imbalance of the Q-part of the complex signal (0 = no imbalance)
|
|
uint8 q_magnitude # [-] [@range 0, 255] Magnitude of the Q-part of the complex signal (0 = no signal, 255 = max magnitude)
|
|
|
|
uint32 center_frequency # [Hz] Nominal center frequency of the RF block. 0 = unknown.
|
|
|
|
# One topic per RF block ID
|
|
# TOPICS sensor_gnss_rf_block0 sensor_gnss_rf_block1 sensor_gnss_rf_block2
|