使用NXT陀螺仪传感器测量旋转的附加维度。
Measure the additional dimension of rotation with the NXT Gyro Sensor.
NXT陀螺仪传感器返回每秒旋转的角度数值,同时表示出旋转的方向。
The NXT Gyro Sensor returns the number of degrees per second of rotation as well as indicating the direction of rotation.
一般来说,陀螺仪传感器的输出是旋转角度对时间的积分。参见如下代码。
Usually, the output of the gyroscope is integrated over time to calculatea rotation describing the change of angles over the time step. For example.
应用推荐