Documentation menu

gyr: rotation

Raw three-axis angular rate from the gyroscope, in degrees per second.

View as Markdown

The gyr table holds the raw gyroscope signal. Like acc, it is stored in packets of evenly spaced samples, and the API gives every sample its own time.

Fields

FieldTypeUnitDescription
gyr_x, gyr_y, gyr_zseries°/sAngular rate on each axis, one point per sample. With combined_tuple or combined_dict these become one gyr series.
odrnumberHzOutput data rate. Only with merge=false.
scalenumber°/sFull-scale range the gyroscope was set to. Only with merge=false.
seqintegerPacket counter from the device. Only with merge=false.

Merging works as for acc: with merge=true the page becomes one item.

Aligned with the accelerometer

The gyroscope and the accelerometer are separate parts with separate clocks. With sync_acc_gyr on, the API moves each gyroscope packet onto the time of the accelerometer packet recorded up to 200 ms before it. The two signals then share one time base, which matters when you combine them, for example to estimate orientation. Timing and accuracy has the details.