Complete migration of SPATZ to this repository

This commit is contained in:
dario
2023-12-12 19:22:17 +01:00
parent c60629b4c9
commit b4c34e9582
30 changed files with 14482 additions and 34 deletions

View File

@@ -51,14 +51,4 @@ class Sensor:
for i in range(len(out)):
self._log(f'out_{i}', out[i])
return out
class CompoundSensor(Sensor):
def __init__(self, sensors: List[Sensor]):
super(CompoundSensor, self).__init__(None)
self.__sensors = sensors
def _get_data(self) -> ArrayLike:
return np.stack([sensor() for sensor in self.__sensors])
return out