Skip to content

GpsInjectData (UORB message)

TOPICS: gps_injectdata

Fields

参数名类型Unit [Frame]Range/Enum描述
timestampuint64time since system start (microseconds)
device_iduint32unique device ID for the sensor that does not change between power cycles
lenuint16length of data
flagsuint8LSB: 1=fragmented
datauint8[300]data to write to GPS device (RTCM message)

Constants

参数名类型描述
ORB_QUEUE_LENGTHuint88
MAX_INSTANCESuint82

Source Message

Source file (GitHub)

Details

Click here to see original file

c
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