LSM6DSM IMU Sensor
Measure linear acceleration, angular rate, and temperature from LSM6DSM sensor
Since R2022b
Add-On Required: This feature requires the Simulink Support Package for Raspberry Pi Hardware add-on.
Libraries:
Simulink Support Package for Raspberry Pi Hardware /
Sensors /
IMU Sensors
Description
The LSM6DSM IMU Sensor block measures linear acceleration and angular rate along the X, Y, and Z axis using the LSM6DSM Inertial Measurement Unit (IMU) sensor interfaced with the Raspberry Pi® hardware. This 6-Degree of Freedom (DoF) IMU sensor comprises of an accelerometer and gyroscope used to measure linear acceleration and angular rate, respectively. The block also measures the temperature from the embedded temperature sensor in LSM6DSM Sensor.
You can also use the composite filter option in the block for the accelerometer values, and use the high pass and low pass filter options for gyroscope values.
Ports
Output
Parameters
Version History
Introduced in R2022b