readAngularVelocity
Read one sample of angular velocity from sensor
Description
[
returns one sample of the angular velocity data on x, y, and z axes read from the
sensor in units of rad/s along with the gyroReadings,timestamp] = readAngularVelocity(sensorobj)timestamp.
Timestamp is optional.
Note
The
readAngularVelocityfunction is available for theLSM6DS3,LSM6DS3H,LSM6DSL,LSM6DSM,LSM6DSR,LSM6DSO,MPU6050,MPU9250,LSM9DS1, andICM20948sensors.To generate C/C++ code for this function, you must have an Embedded Coder® license.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a