陀螺仪测量机体围绕某个轴向的旋转角速率值。
可以通过角速率值的时间积分来估计当前的横滚角度,前提是没有误差的累积。
You can approximate the current roll Angle by integrating the roll rate over time, but you can't do so without some error creeping in.
该值的范围随后会被调整为0到100之间的通知速率,并作为电子钢琴通知播放。
This value is then scaled to a 0-100 note velocity and played as an electronic piano note.
应用推荐