mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-09-28 21:17:33 +00:00
Updated setup class and kalman filter class
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
from typing import Any
|
||||
|
||||
|
||||
def A(dt: float):
|
||||
return [[dt, 0], [0, 1]]
|
||||
|
||||
|
||||
|
||||
class KalmanFilter:
|
||||
def __init__(self) -> None:
|
||||
pass
|
||||
def __init__(self, A, B) -> None:
|
||||
self.__A = A
|
||||
self.__B = B
|
||||
|
||||
def predict(self, dt: float) -> None:
|
||||
self.__A(dt)
|
||||
|
||||
def predict(self) -> None:
|
||||
pass
|
||||
|
||||
def correct(self) -> None:
|
||||
|
@@ -2,9 +2,11 @@ from typing import Any, List
|
||||
from numpy.linalg import norm
|
||||
|
||||
from numpy.typing import ArrayLike
|
||||
from pandas import NA
|
||||
|
||||
from spatz.dataset import ArrayLike, Dataset
|
||||
from spatz.logger import ArrayLike, Logger
|
||||
from spatz.sensors import Sensor, NA
|
||||
from spatz.sensors import Sensor
|
||||
from spatz.transforms import Transform
|
||||
|
||||
# WG84 googlen (world model GPS)
|
||||
|
Reference in New Issue
Block a user