ICM20948 IMU Sensor
R2026bMeasure linear acceleration, angular velocity, magnetic field, and temperature from ICM20948 IMU sensor
Since R2022b
Libraries:
Raspberry Pi Blockset /
Sensors /
IMU Sensors
Description
The ICM20948 IMU Sensor block outputs the values of linear acceleration, angular velocity, and magnetic field strength along x-, y- and z- axes as measured by the ICM20948 IMU sensor connected to Raspberry Pi® board. The block also outputs the temperature as read by the ICM20948 IMU sensor.
Note
To generate C/C++ code for this block, you must have an Embedded Coder® license.
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"raspberrypiIMUsensorslib/ICM20948 IMU Sensor"
Example: add_block("raspberrypiIMUsensorslib/ICM20948 IMU Sensor","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2022b
