Skip to content

SensorGyro (UORB message)

TOPICS: sensor_gyro

Fields

NameTypeUnit [Frame]Range/EnumDescription
timestampuint64time since system start (microseconds)
timestamp_sampleuint64
device_iduint32unique device ID for the sensor that does not change between power cycles
xfloat32angular velocity in the FRD board frame X-axis in rad/s
yfloat32angular velocity in the FRD board frame Y-axis in rad/s
zfloat32angular velocity in the FRD board frame Z-axis in rad/s
temperaturefloat32temperature in degrees Celsius
error_countuint32
clip_counteruint8[3]clip count per axis in the sample period
samplesuint8number of raw samples that went into this message

Constants

NameTypeValueDescription
ORB_QUEUE_LENGTHuint88

Source Message

Source file (GitHub)

Click here to see original file
c
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