Better logging and added BHI160 sensor

This commit is contained in:
dario
2024-01-13 22:54:13 +01:00
parent 4def93041e
commit 29db73ccd4
6 changed files with 44 additions and 16 deletions

View File

@@ -47,8 +47,10 @@ class Sensor:
out = self._get_data()
out = self._sensor_specific_effects(out)
t = self._dataset.get_time()
for transform in self._transforms:
out = transform(out)
out = transform(t, out)
# Log the outputs of the sensor.
if np.isscalar(out):