mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-06-10 01:55:59 +00:00
Some cleanup
This commit is contained in:
parent
4a93fd4ee6
commit
9bfe61d9c7
@ -1,4 +1,8 @@
|
||||
from spatz.sensors.sensor import Sensor
|
||||
from spatz.sensors.gps import GPS
|
||||
from spatz.sensors.imu import Accelerometer, Gyroscope, IMU
|
||||
from spatz.sensors.pressure import PressureSensor
|
||||
from spatz.sensors.compound import CompoundSensor
|
||||
from spatz.sensors.compound import CompoundSensor
|
||||
|
||||
|
||||
from pandas import NA
|
1
spatz/sensors/gps/__init__.py
Normal file
1
spatz/sensors/gps/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from spatz.sensors.gps.gps import GPS
|
@ -5,7 +5,7 @@ from typing import Any, Tuple
|
||||
|
||||
|
||||
class Transform:
|
||||
def apply(self, t: float, x: np.array):
|
||||
def apply(self, t: float, x: ArrayLike):
|
||||
y = self(t, x)
|
||||
assert x.shape == y.shape, "Transform has to maintain the array's shape."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user