readAngularVelocity
Read one angular velocity data sample from MPU-9250 sensor
Description
[
returns one sample of the angular velocity data from the MPU-9250 IMU sensor. The angular
velocity sample is returned as a 3-by-1 vector in rad/s along the X, Y, and Z axes. The
function also returns the gyroReadings,timestamp] = readAngularVelocity(sensor)timestamp at which MATLAB® receives the angular velocity data from the MPU-9250 sensor. The
timestamp output is optional.
Note
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