Main Content
readRotationAngle
Read rotation angle from gyroscopic sensor
Add-On Required: This feature requires the MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware add-on.
Description
reads
the total amount of rotation since the creation of the connection
to the sensor, and returns the measurement in degrees. You can use
the angle
= readRotationAngle(mygyrosensor
)resetRotationAngle
function to reset this
value to zero.