readAcceleration
Description
[
returns one sample of the acceleration data from the MPU-6050 IMU sensor. The acceleration
sample is returned as a 3-by-1 vector in m/s2 along the X, Y, and
Z axes. The function also returns the accelReadings
,timestamp
] = readAcceleration(sensor
)timestamp
at which MATLAB® receives the acceleration data from the MPU-6050 sensor. The
timestamp
output is optional.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2021a
See Also
readAngularVelocity
| mpu6050
| raspi
| scanI2CBus
| showPins
| Raspberry Pi Resource
Monitor App