Skip to content

SensorGyroFifo (UORB message)

TOPICS: sensor_gyro_fifo

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
is_externalbooltrue if the sensor is not mounted on the flight controller board itself
dtfloat32delta time between samples (microseconds)
scalefloat32rad/s per count
samplesuint8number of valid samples
xint16[32]FRD board frame X-axis raw counts (rad/s = x * scale)
yint16[32]FRD board frame Y-axis raw counts (rad/s = y * scale)
zint16[32]FRD board frame Z-axis raw counts (rad/s = z * scale)

Constants

NameTypeValueDescription
ORB_QUEUE_LENGTHuint84

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
bool is_external          # true if the sensor is not mounted on the flight controller board itself

float32 dt                # delta time between samples (microseconds)
float32 scale             # rad/s per count

uint8 samples             # number of valid samples

int16[32] x               # FRD board frame X-axis raw counts (rad/s = x * scale)
int16[32] y               # FRD board frame Y-axis raw counts (rad/s = y * scale)
int16[32] z               # FRD board frame Z-axis raw counts (rad/s = z * scale)

uint8 ORB_QUEUE_LENGTH = 4