mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-06-10 01:55:59 +00:00
20 lines
297 B
Python
20 lines
297 B
Python
from typing import Any
|
|
|
|
|
|
def A(dt: float):
|
|
return [[dt, 0], [0, 1]]
|
|
|
|
|
|
|
|
class KalmanFilter:
|
|
def __init__(self, A, B) -> None:
|
|
self.__A = A
|
|
self.__B = B
|
|
|
|
def predict(self, dt: float) -> None:
|
|
self.__A(dt)
|
|
|
|
pass
|
|
|
|
def correct(self) -> None:
|
|
pass |