Fix test_sensor_manager.py

This commit is contained in:
Thomas Farstrike
2025-12-08 12:03:32 +01:00
parent 11867dd74f
commit 6f3fe0af9f
2 changed files with 3 additions and 1 deletions
@@ -686,8 +686,10 @@ class _WsenISDSDriver(_IMUDriver):
def read_acceleration(self):
"""Read acceleration in m/s² (converts from mg)."""
ax, ay, az = self.sensor._read_raw_accelerations()
# Convert G to m/s² and apply calibration
return (
((ax / 1000) * _GRAVITY) - self.accel_offset[0],