mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-09-28 21:17:33 +00:00
Complete migration of SPATZ to this repository
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user