mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/SPATZ.git
synced 2025-06-10 01:55:59 +00:00
Updated setup class and kalman filter class
This commit is contained in:
parent
83c8374027
commit
f5f30953ca
6
setup.py
6
setup.py
@ -8,7 +8,7 @@ with open('README.md', 'r') as f:
|
||||
setup(
|
||||
name='spatz',
|
||||
version='0.0.10',
|
||||
package_dir={'': 'spatz'},
|
||||
packages=find_packages(where='spatz'),
|
||||
long_description=longdescription
|
||||
packages=find_packages(exclude=["_tests"]),
|
||||
long_description=longdescription,
|
||||
long_description_content_type='text/markdown',
|
||||
)
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user