mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +08:00
2.1 KiB
2.1 KiB
pageClass
| pageClass |
|---|
| is-wide-page |
GpsInjectData (UORB message)
TOPICS: gps_inject_data
Fields
Constants
| Name | Type | Value | Description |
|---|---|---|---|
| ORB_QUEUE_LENGTH | uint8 |
8 | |
| MAX_INSTANCES | uint8 |
2 |
Source Message
::: 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 across multiple uORB publications
uint8[300] data # data chunk to write to GPS device (RTCM message)
uint8 ORB_QUEUE_LENGTH = 8
uint8 MAX_INSTANCES = 2
:::