What it does
deki-imu exposes a 6-axis inertial measurement unit as a scene component. The engine core defines IDekiIMU; this module ships the LSM6DS3IMU component, which talks to the LSM6DS3 over I²C and surfaces:
- Raw accelerometer (m/s²) and gyroscope (rad/s) readings.
- The chip’s built-in hardware pedometer count, so step tracking does not cost any CPU on the MCU.
auto* imu = root->GetComponentInChildren<LSM6DS3IMU>();
auto a = imu->GetAcceleration();
auto g = imu->GetAngularVelocity();
int steps = imu->GetStepCount();
Adding a different IMU chip
Implement IDekiIMU for the new sensor’s protocol and wrap it in a component. No core changes.