Skip to content

SensorGyroFifo (UORB message)

TOPICS: sensor_gyrofifo

Fields

参数名类型Unit [Frame]Range/Enum描述
timestampuint64time since system start (microseconds)
timestamp_sampleuint64
device_iduint32unique device ID for the sensor that does not change between power cycles
dtfloat32delta time between samples (microseconds)
scalefloat32
samplesuint8number of valid samples
xint16[32]angular velocity in the FRD board frame X-axis in rad/s
yint16[32]angular velocity in the FRD board frame Y-axis in rad/s
zint16[32]angular velocity in the FRD board frame Z-axis in rad/s

Constants

参数名类型描述
ORB_QUEUE_LENGTHuint84

Source Message

Source file (GitHub)

Details

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 dt                # delta time between samples (microseconds)
float32 scale

uint8 samples             # number of valid samples

int16[32] x               # angular velocity in the FRD board frame X-axis in rad/s
int16[32] y               # angular velocity in the FRD board frame Y-axis in rad/s
int16[32] z               # angular velocity in the FRD board frame Z-axis in rad/s

uint8 ORB_QUEUE_LENGTH = 4