Files
PX4-Autopilot/docs/en/msg_docs/SensorGyro.md
PX4BuildBot 36b5e1e1bb docs: auto-sync metadata [skip ci]
Co-Authored-By: PX4 BuildBot <bot@px4.io>
2026-02-11 22:43:01 +00:00

2.7 KiB

pageClass
pageClass
is-wide-page

SensorGyro (UORB message)

TOPICS: sensor_gyro

Fields

Name Type Unit [Frame] Range/Enum Description
timestamp uint64 time since system start (microseconds)
timestamp_sample uint64
device_id uint32 unique device ID for the sensor that does not change between power cycles
x float32 angular velocity in the FRD board frame X-axis in rad/s
y float32 angular velocity in the FRD board frame Y-axis in rad/s
z float32 angular velocity in the FRD board frame Z-axis in rad/s
temperature float32 temperature in degrees Celsius
error_count uint32
clip_counter uint8[3] clip count per axis in the sample period
samples uint8 number of raw samples that went into this message

Constants

Name Type Value Description
ORB_QUEUE_LENGTH uint8 8

Source Message

Source file (GitHub)

::: details Click here to see original file

uint64 timestamp          # time since system start (microseconds)
uint64 timestamp_sample

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

float32 x                 # angular velocity in the FRD board frame X-axis in rad/s
float32 y                 # angular velocity in the FRD board frame Y-axis in rad/s
float32 z                 # angular velocity in the FRD board frame Z-axis in rad/s

float32 temperature       # temperature in degrees Celsius

uint32 error_count

uint8[3] clip_counter     # clip count per axis in the sample period

uint8 samples             # number of raw samples that went into this message

uint8 ORB_QUEUE_LENGTH = 8

:::