|
deki-imu 1.3.0
Deki package reference
|
Accelerometer + gyroscope peripheral interface with LSM6DS3 backend (hardware pedometer)
Repository: github.com/dekiengine/deki-imu · Latest release: 1.1.0 · Needs engine 1.2.0+ · Requires: deki-i2c
Install: DekiEditor --packages-add deki-imu <project>, or add it in the Package Manager. Part of Deki; the engine's own components and the C++ API are documented there.
Shown in the editor as IMU (Accelerometer + Gyroscope).
| Component | Category | Description |
|---|---|---|
| LSM6DS3IMUComponent | Sensors | Reads the LSM6DS3 motion sensor over I2C, step counter included. |
Compile-time features the package exposes (package.json):
| Feature | Define | Default |
|---|---|---|
| LSM6DS3 (I²C, 6-axis + hardware pedometer) | DEKI_FEATURE_IMU_LSM6DS3 | on |
Reads the LSM6DS3 motion sensor over I2C, step counter included.
Inspector name: LSM6DS3 IMU · Category: Sensors · Type GUID: 2b4f8e91-7d36-4a50-9c18-4f6b2d8e1a35
| Property | Type | Default | Constraints | Description |
|---|---|---|---|---|
| i2cPort | int32 | 0 | 0 to 3 | |
| i2cAddress | int32 | 106 | 0 to 127 | |
| enablePedometer | bool | true |
Generated from the package's reflection metadata by the Deki documentation build (engine 1.3.0). Reflected property names are the keys scene files use; a rename ships with an alias, see COMPATIBILITY.md.