Skip to content

GyroscopeReadingEvent 继承自: Event['Gyroscope']

Discrete reading from a gyroscope.

Gyroscope sample containing device rotation rate (rad/s) around each axis plus the microsecond timestamp.

属性 ​

名称类型默认值说明
xfloatrequiredRotation rate around the X axis, in rad/s.
yfloatrequiredRotation rate around the Y axis, in rad/s.
zfloatrequiredRotation rate around the Z axis, in rad/s.
timestampdatetimerequiredEvent timestamp.

关注我,学习大模型、大数据、Python等热门技术。