Files
PX4-Autopilot/docs/en/msg_docs/GpsInjectData.md
PX4BuildBot d965df930c docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-02-23 18:34:11 +00:00

1.9 KiB

pageClass
pageClass
is-wide-page

GpsInjectData (UORB message)

TOPICS: gps_inject_data

Fields

Name Type Unit [Frame] Range/Enum Description
timestamp uint64 time since system start (microseconds)
device_id uint32 unique device ID for the sensor that does not change between power cycles
len uint16 length of data
flags uint8 LSB: 1=fragmented
data uint8[300] data to write to GPS device (RTCM message)

Constants

Name Type Value Description
ORB_QUEUE_LENGTH uint8 8
MAX_INSTANCES uint8 2

Source Message

Source file (GitHub)

::: details Click here to see original file

uint64 timestamp		# time since system start (microseconds)

uint32 device_id                # unique device ID for the sensor that does not change between power cycles

uint16 len                       # length of data
uint8 flags                     # LSB: 1=fragmented
uint8[300] data                 # data to write to GPS device (RTCM message)

uint8 ORB_QUEUE_LENGTH = 8

uint8 MAX_INSTANCES = 2

:::