主题
GyroscopeReadingEvent 继承自: Event['Gyroscope']
Discrete reading from a gyroscope.
Gyroscope sample containing device rotation rate (rad/s) around each axis plus the microsecond timestamp.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
x | float | required | Rotation rate around the X axis, in rad/s. |
y | float | required | Rotation rate around the Y axis, in rad/s. |
z | float | required | Rotation rate around the Z axis, in rad/s. |
timestamp | datetime | required | Event timestamp. |