Files
PX4-Autopilot/docs/zh/msg_docs/GpsInjectData.md
PX4 Build Bot 47d5971f42 New Crowdin translations - zh-CN (#26488)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2026-02-18 16:44:34 +11:00

2.4 KiB

pageClass
pageClass
is-wide-page

GpsInjectData (UORB message)

TOPICS: gps_injectdata

Fields

参数名 类型 Unit [Frame] Range/Enum 描述
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

参数名 类型 描述
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

:::